Skip to main content

ZipArchive.RemoveItem(String) 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(
    string name
)

Parameters

Name Type Description
name String

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

Remarks

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