An entry in the zip archive containing compressed data.
public abstract class ZipItem : IContentStreamOwner
Public MustInherit Class ZipItem Implements IContentStreamOwner
Related API Members
The following members accept/return ZipItem objects:
When a new archive is created, a zip item is created from the source data and contains information on its source and source specifics (e.g., the ZipFileItem.FileName and the ZipItem.LastAccessTimeUtc properties for the ZipFileItem, and the ZipTextItem.ContentEncoding property for the ZipTextItem). When an archive is loaded from a file or a stream using the ZipArchive.Read method, all zip items contain only the basic information relevant to the ZipItem class.
An item in an archive is located at the path specified by the ZipItem.Name property.
To extract an item, use the ZipItem.Extract method.
To update an item, remove the item from the archive and a add a new item with the same name. To help you in doing so, the following methods are implemented: ZipArchive.UpdateDirectory, ZipArchive.UpdateFile, ZipArchive.UpdateStream and ZipArchive.UpdateText.