PDF for UWP | ComponentOne
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
     
    
    <AsyncStateMachineAttribute(C1.C1Zip.C1ZipEntryCollection/d__9)> 
    Public Overloads Function AddAsync( _ 
       ByVal file As StorageFile, _ 
       ByVal entryName As String _ 
    ) As Task
    [AsyncStateMachine(C1.C1Zip.C1ZipEntryCollection/d__9)] 
    public Task AddAsync( 
       StorageFile file, 
       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