ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipFile Class / C1ZipFile Constructor / C1ZipFile Constructor(String,Boolean)
The name of the zip file to open or create.
True to create a new zip file, false to open an existing file.

In This Topic
    C1ZipFile Constructor(String,Boolean)
    In This Topic
    Initializes a new instance of the C1ZipFile class and creates or opens a zip file associated with this new instance.
    Syntax
    Public Function New( _
       ByVal fileName As String, _
       ByVal create As Boolean _
    )
    public C1ZipFile( 
       string fileName,
       bool create
    )

    Parameters

    fileName
    The name of the zip file to open or create.
    create
    True to create a new zip file, false to open an existing file.
    Remarks

    If create is true and the zip file already exists, it is overwritten with a new empty file.

    If create is false and the zip file already exists, the existing file is opened.

    See Also