Extracts the current item into the specified local directory using the specified arguments.

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

Syntax

Visual Basic
Public MustOverride Function ExtractToDirectory ( _
	targetDirectoryPath As String, _
	mode As TraversalMode, _
	defaultActionOnExistingFiles As ActionOnExistingFiles _
) As ArchiveOperationResult
C#
public abstract ArchiveOperationResult ExtractToDirectory(
	string targetDirectoryPath,
	TraversalMode mode,
	ActionOnExistingFiles defaultActionOnExistingFiles
)

Parameters

targetDirectoryPath
Type: System..::..String
Path to an existing directory into which to extract the item.
mode
Type: Rebex.IO..::..TraversalMode
Traversal mode.
defaultActionOnExistingFiles
Type: Rebex.IO..::..ActionOnExistingFiles
Specifies default behavior for files that already exist at the local directory.

Return Value

Operation result.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also