Extracts specified archive item(s) from 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 Extract ( _
	zipFilePath As String, _
	archivePathOrMask As String, _
	targetDirectoryPath As String _
) As ArchiveOperationResult
C#
public static ArchiveOperationResult Extract(
	string zipFilePath,
	string archivePathOrMask,
	string targetDirectoryPath
)

Parameters

zipFilePath
Type: System..::..String
Path to a ZIP archive file.
archivePathOrMask
Type: System..::..String
Path (with or without a mask) to an archive item(s).
targetDirectoryPath
Type: System..::..String
Path to an existing local directory to which to extract files.

Return Value

Operation result.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also