ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipEntryCollection Class / Add Method / Add(String) Method
Name of the file to add to the zip file.

In This Topic
    Add(String) Method
    In This Topic
    Adds an entry to the current zip file.
    Syntax
    Public Overloads Sub Add( _
       ByVal fileName As String _
    ) 
    public void Add( 
       string fileName
    )

    Parameters

    fileName
    Name of the file to add to the zip file.
    Remarks
    By default, the directory name is not stored in the zip file. To store a specific part of the directory name in the zip file, use the overloaded version of the Add method with a pathLevels parameter.
    See Also