Gets the ZipItem object that represents the specified path.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public ReadOnly Default Property Item ( _
	archivePath As String _
) As ZipItem
	Get
C#
public ZipItem this[
	string archivePath
] { get; }

Parameters

archivePath
Type: System..::..String
Path to an item within the ZIP archive.

Return Value

A ZipItem object or a null reference (Nothing in Visual Basic) if the path is not present in the ZIP archive.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe specified path is null.
System..::..ArgumentExceptionThe specified path is empty.
System..::..ObjectDisposedExceptionArchive was already disposed.
Rebex.IO.Compression..::..ZipExceptionCannot perform the requested operation (see ProblemType for detailed information).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also