ComponentOne Zip for .NET
Add(String) Method

C1.C1Zip.4 Assembly > C1.C1Zip Namespace > C1ZipEntryCollection Class > Add Method : Add(String) Method
Name of the file to add to the zip file.
Adds an entry to the current zip file.
Syntax
Public Overloads Sub Add( _
   ByVal fileName As String _
) 
public void Add( 
   string fileName
)

Parameters

fileName
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.
See Also

Reference

C1ZipEntryCollection Class
C1ZipEntryCollection Members
Overload List