ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipEntryCollection Class / AddFolder Method / AddFolder(String,String) Method
The full path of the folder to be added to the zip file.
A mask that specifies which files to add.

In This Topic
    AddFolder(String,String) Method
    In This Topic
    Adds the content of a folder to the current zip file.
    Syntax
    Public Overloads Sub AddFolder( _
       ByVal path As String, _
       ByVal searchPattern As String _
    ) 
    public void AddFolder( 
       string path,
       string searchPattern
    )

    Parameters

    path
    The full path of the folder to be added to the zip file.
    searchPattern
    A mask that specifies which files to add.
    Remarks
    If the folder contains sub folders, those are also added to the zip file.
    See Also