ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipEntryCollection Class / AddFolder Method / AddFolder(String,String,Boolean) Method
The full path of the folder to be added to the zip file.
A mask that specifies which files to add.
True to include sub folders, false to include only files at the root level.

In This Topic
    AddFolder(String,String,Boolean) 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, _
       ByVal includeSubfolders As Boolean _
    ) 
    public void AddFolder( 
       string path,
       string searchPattern,
       bool includeSubfolders
    )

    Parameters

    path
    The full path of the folder to be added to the zip file.
    searchPattern
    A mask that specifies which files to add.
    includeSubfolders
    True to include sub folders, false to include only files at the root level.
    See Also