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

ZipArchive.RemoveItem(ZipItem) Method

Deletes a specified zip item from the archive.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll

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