Adds the content of a folder to the current zip file.

Namespace:  C1.C1Zip
Assembly:  C1.Phone.Zip (in C1.Phone.Zip.dll)

Syntax

C#
public void AddFolder(
	string path,
	string searchPattern,
	bool includeSubfolders
)
Visual Basic
Public Sub AddFolder ( _
	path As String, _
	searchPattern As String, _
	includeSubfolders As Boolean _
)

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.
includeSubfolders
Type: System..::..Boolean
True to include sub folders, false to include only files at the root level.

See Also