Initialize Method (fileName)

DotNetZip

Ionic Zip Library v1.9.1.6 Initialize Method (fileName)
ReferenceIonic.ZipZipFileInitialize(String)
Initialize a ZipFile instance by reading in a zip file.
Declaration Syntax
C# Visual Basic Visual C++
public void Initialize(
	string fileName
)
Public Sub Initialize ( _
	fileName As String _
)
public:
void Initialize(
	String^ fileName
)
Parameters
fileName (String)
the name of the existing zip file to read in.
Remarks

This method is primarily useful from COM Automation environments, when reading or extracting zip files. In COM, it is not possible to invoke parameterized constructors for a class. A COM Automation application can update a zip file by using the default (no argument) constructor, then calling Initialize() to read the contents of an on-disk zip archive into the ZipFile instance.

.NET applications are encouraged to use the ZipFile.Read() methods for better clarity.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)