ComponentOne Zip for .NET
AddFolder(String,String) Method

C1.C1Zip.4 Assembly > C1.C1Zip 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.
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

Reference

C1ZipEntryCollection Class
C1ZipEntryCollection Members
Overload List