Adds an entry to the current zip file.
Namespace:
C1.C1ZipAssembly: C1.Phone.Zip (in C1.Phone.Zip.dll)
Syntax
C# |
---|
public void Add( string fileName ) |
Visual Basic |
---|
Public Sub Add ( _ fileName As String _ ) |
Parameters
- fileName
- Type: System..::..String
Name of the file to add to the zip file.
Remarks
By default, the directory name is not stored in the zip file. To store a specific
part of the directory name in the zip file, use the overloaded version of the
Add method with a pathLevels parameter.