Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ZipArchive.GetItem Method

Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)

GetItem(String)

Gets the ZipItem object that represents the specified path.

Declaration
public ZipItem GetItem(string archivePath)
Parameters
Type Name Description
String archivePath

Path to an item within the ZIP archive.

Returns
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).

In This Article
  • GetItem(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies