ZipArchive.FileExists Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)
FileExists(String)
Gets a value indicating whether the specified file is present in the ZIP archive.
Declaration
public bool FileExists(string archiveFilePath)
Parameters
Type | Name | Description |
---|---|---|
String | archiveFilePath | The path of the file to check. |
Returns
Type | Description |
---|---|
Boolean | True if the file exists; false otherwise. |
Exceptions
Type | Condition |
---|---|
Argument |
The specified path is null. |
Argument |
The specified path is empty. |
Object |
Archive was already disposed. |
Zip |
Cannot perform the requested operation (see Problem |