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

ZipArchive.DirectoryExists Method

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

DirectoryExists(String)

Gets a value indicating whether the specified directory is present in the ZIP archive.

Declaration
public bool DirectoryExists(string archiveDirectoryPath)
Parameters
Type Name Description
String archiveDirectoryPath

The path of the directory to check.

Returns
Type Description
Boolean

True if the directory exists; false otherwise.

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
  • DirectoryExists(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies