PowerTCP Zip Compression for .NET
BeginUnzip(String,Boolean,Overwrite,Object) Method




The destination directory for storing decompressed files.
true if the directory path of the compressed item is preserved; false otherwise
Specifies whether to overwrite any existing files.
User state information.
Begins an asynchronous unzip operation.
Syntax
<DescriptionAttribute("To begin an asynchronous Unzip operation.")>
Public Overloads Function BeginUnzip( _
   ByVal destination As String, _
   ByVal preservePath As Boolean, _
   ByVal overwrite As Overwrite, _
   ByVal state As Object _
) As IAsyncResult
Dim instance As ArchiveItem
Dim destination As String
Dim preservePath As Boolean
Dim overwrite As Overwrite
Dim state As Object
Dim value As IAsyncResult
 
value = instance.BeginUnzip(destination, preservePath, overwrite, state)
[Description("To begin an asynchronous Unzip operation.")]
public IAsyncResult BeginUnzip( 
   string destination,
   bool preservePath,
   Overwrite overwrite,
   object state
)
[Description("To begin an asynchronous Unzip operation.")]
public: IAsyncResult* BeginUnzip( 
   string* destination,
   bool preservePath,
   Overwrite overwrite,
   Object* state
) 
[Description("To begin an asynchronous Unzip operation.")]
public:
IAsyncResult^ BeginUnzip( 
   String^ destination,
   bool preservePath,
   Overwrite overwrite,
   Object^ state
) 

Parameters

destination
The destination directory for storing decompressed files.
preservePath
true if the directory path of the compressed item is preserved; false otherwise
overwrite
Specifies whether to overwrite any existing files.
state
User state information.

Return Value

An IAsyncResult that identifies the asynchronous operation.
Exceptions
ExceptionDescription
ZipExceptionA critical zip operation error occurred during this activity. Please see ZipException.Message for details.
Remarks
An unzip operation on an ArchiveItem object will only decompress the item and not any other items in the collection.
See Also

Reference

ArchiveItem Class
ArchiveItem Members
Overload List


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic