.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ZipArchive.RemoveItem(String) Method

Deletes a specified zip item from the archive.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll

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