Extracts the whole content of the specified ZIP archive into the specified local directory.

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

Syntax

Visual Basic
Public Shared Function ExtractAll ( _
	zipFilePath As String, _
	targetDirectoryPath As String, _
	transferMethod As TransferMethod, _
	defaultActionOnExistingFiles As ActionOnExistingFiles _
) As ArchiveOperationResult
C#
public static ArchiveOperationResult ExtractAll(
	string zipFilePath,
	string targetDirectoryPath,
	TransferMethod transferMethod,
	ActionOnExistingFiles defaultActionOnExistingFiles
)

Parameters

zipFilePath
Type: System..::..String
Path to a ZIP archive file.
targetDirectoryPath
Type: System..::..String
Path to an existing local directory to which to extract the ZIP archive.
transferMethod
Type: Rebex.IO..::..TransferMethod
Specifies whether to copy or move source items.
defaultActionOnExistingFiles
Type: Rebex.IO..::..ActionOnExistingFiles
Specifies the default behavior for files that already exists in the local directory.

Return Value

Operation result.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also