ArchiveItem.ExtractToDirectory Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9119)
ExtractToDirectory(String)
Extracts the current item into the specified directory.
Declaration
public virtual ArchiveOperationResult ExtractToDirectory(string targetDirectoryPath)
Parameters
Type | Name | Description |
---|---|---|
String | targetDirectoryPath | Path to an existing directory into which to extract the item. |
Returns
Type | Description |
---|---|
ArchiveOperationResult | Operation result. |
ExtractToDirectory(String, TraversalMode, ActionOnExistingFiles)
Extracts the current item into the specified local directory using the specified arguments.
Declaration
public abstract ArchiveOperationResult ExtractToDirectory(string targetDirectoryPath, TraversalMode mode, ActionOnExistingFiles defaultActionOnExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
String | targetDirectoryPath | Path to an existing directory into which to extract the item. |
TraversalMode | mode | Traversal mode. |
ActionOnExistingFiles | defaultActionOnExistingFiles | Specifies default behavior for files that already exist at the local directory. |
Returns
Type | Description |
---|---|
ArchiveOperationResult | Operation result. |