Skip to main content

ZipArchive.RemoveItem(String) Method

Deletes a specified zip item from the archive.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor


public void RemoveItem(
    string name


Name Type Description
name String

A string that is the name of a zip item to remove.


The name of the zip item corresponds to the ZipItem.Name property value. 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