PDF for UWP | ComponentOne
C1.C1Zip Namespace / C1ZipEntryCollection Class / AddAsync Method / AddAsync(Stream,String) Method
Stream that contains data for the new entry.
Name to be used for the new entry.

In This Topic
    AddAsync(Stream,String) Method
    In This Topic
    Adds a stream to the current zip file.
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(C1.C1Zip.C1ZipEntryCollection/d__11)> 
    Public Overloads Function AddAsync( _ 
       ByVal stream As Stream, _ 
       ByVal entryName As String _ 
    ) As Task
    [AsyncStateMachine(C1.C1Zip.C1ZipEntryCollection/d__11)] 
    public Task AddAsync( 
       Stream stream, 
       string entryName 
    )

    Parameters

    stream
    Stream that contains data for the new entry.
    entryName
    Name to be used for the new entry.
    See Also