PDF for UWP | ComponentOne
C1.C1Zip Namespace / C1ZipEntryCollection Class / AddAsync Method / AddAsync(Stream,String,DateTime) Method
Stream that contains data for the new entry.
Name to be used for the new entry.
The date and time when the file was last modified.

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

    Parameters

    stream
    Stream that contains data for the new entry.
    entryName
    Name to be used for the new entry.
    dateTime
    The date and time when the file was last modified.
    See Also