ZipArchive.Item Property
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9313)
Item[String]
Gets the ZipItem object that represents the specified path.
Declaration
public ZipItem this[string archivePath] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| String | archivePath | Path to an item within the ZIP archive. |
Property Value
| Type | Description |
|---|---|
| ZipItem | A ZipItem object or a null reference (Nothing in Visual Basic) if the path is not present in the ZIP archive. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | The specified path is null. |
| ArgumentException | The specified path is empty. |
| ObjectDisposedException | Archive was already disposed. |
| ZipException | Cannot perform the requested operation (see ProblemType for detailed information). |