Skip to main content

ZipArchive.Dispose() Method

Clears all zip items, disposes all associated streams and releases all resources used by the ZipArchive object.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public void Dispose()

Remarks

Call the Dispose method when you have called the ZipArchive.Save or ZipArchive.Extract method of the ZipArchive object instance and are finished working with it. This releases all resources allocated by the object.

You are advised to operate with the ZipArchive object instance within the using statement (Using block in Visual Basic).

Implements

See Also