Skip to main content
A newer version of this page is available. .

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.v18.2.dll

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).

See Also