ComponentOne Zip for UWP
C1.UWP.Zip Assembly / C1.C1Zip Namespace / C1ZipEntryCollection Class / AddAsync Method / AddAsync(StorageFile,String) Method
File to add to the zip file.
The entry name to add to the zip file.

In This Topic
    AddAsync(StorageFile,String) Method
    In This Topic
    Adds a file to the current zip file.
    Syntax
    'Declaration
     
    Public Overloads Function AddAsync( _
       ByVal file As Windows.Storage.StorageFile, _
       ByVal entryName As System.String _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task AddAsync( 
       Windows.Storage.StorageFile file,
       System.string entryName
    )

    Parameters

    file
    File to add to the zip file.
    entryName
    The entry name to add to the zip file.
    Remarks
    This method is available only in the WinRT version.
    See Also