Adds the content of a folder to the current zip file.
Namespace:
C1.C1ZipAssembly: C1.Phone.Zip (in C1.Phone.Zip.dll)
Syntax
C# |
---|
public void AddFolder( string path, string searchPattern ) |
Visual Basic |
---|
Public Sub AddFolder ( _ path As String, _ searchPattern As String _ ) |
Parameters
- path
- Type: System..::..String
The full path of the folder to be added to the zip file.
- searchPattern
- Type: System..::..String
A mask that specifies which files to add.
Remarks
If the folder contains sub folders, those are also added to the zip file.