IZipFile.ExtractZip Method
Parameters
- zipArchive
- string
Required. The full path to the ZIP archive that is to be extracted.
- destinationPath
- string
Required. The full filename of the extracted file or the path to the directory in which to place the extracted multiple files.
- filePattern
- string
Optional. The file name pattern that specifies which file or files are to be extracted. The default value is "*.*".
- password
- string
Optional. When the ZIP archive is protected, the password can be specified. Else, if an empty string, a prompt for the password will be displayed inside this function.
- extractMultipleFiles
- bool
Optional. If set to true, the method will extract all files matching the pattern. The default value is false.
Exception type | Condition |
---|---|
A problem occurred. Check the QdvApiException.Id value for the following reasons: ErrorIDs.ZipExtractGeneralError, ErrorIDs.ZipExtractInvalidPassword, ErrorIDs.ZipExtractInvalidPromptPassword, ErrorIDs.ZipExtractPasswordPromptCanceled. |