Skip to main content

ZipArchive.RemoveItem(ZipItem) Method

Deletes a specified zip item from the archive.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public void RemoveItem(
    ZipItem item
)

Parameters

Name Type Description
item ZipItem

A ZipItem instance to remove.

Remarks

The RemoveItem method removes the item from the ZipArchive instance, but does not update the archive file or stream. Call the ZipArchive.Save method to save the modified archive.

See Also