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

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

Syntax

Visual Basic
Public Function DirectoryExists ( _
	archiveDirectoryPath As String _
) As Boolean
C#
public bool DirectoryExists(
	string archiveDirectoryPath
)

Parameters

archiveDirectoryPath
Type: System..::..String
The path of the directory to check.

Return Value

True if the directory exists; false otherwise.

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