ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipEntryCollection Class / Add Method / Add(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
    Add(Stream,String,DateTime) Method
    In This Topic
    Adds a stream to the current zip file.
    Syntax
    Public Overloads Sub Add( _
       ByVal stream As Stream, _
       ByVal entryName As String, _
       ByVal dateTime As Date _
    ) 
    public void Add( 
       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