Deployment Tools Foundation
UnpackFileSet Method (fileNames, destDirectory, progressHandler)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveInfo ► UnpackFileSet(IDictionary<(Of <<'(String, String>)>>), String, EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>))
Extracts multiple files from the archive.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void UnpackFileSet( IDictionary<string, string> fileNames, string destDirectory, EventHandler<ArchiveProgressEventArgs> progressHandler )
Public Sub UnpackFileSet ( fileNames As IDictionary(Of String, String), destDirectory As String, progressHandler As EventHandler(Of ArchiveProgressEventArgs) )
public: void UnpackFileSet( IDictionary<String^, String^>^ fileNames, String^ destDirectory, EventHandler<ArchiveProgressEventArgs^>^ progressHandler )
Parameters
- fileNames (IDictionary<(Of <(<'String, String>)>)>)
- A mapping from internal file paths to external file paths. Case-senstivity when matching internal paths depends on the IDictionary implementation.
- destDirectory (String)
- This parameter may be null, but if specified it is the root directory for any relative external paths in fileNames.
- progressHandler (EventHandler<(Of <(<'ArchiveProgressEventArgs>)>)>)
- Handler for receiving progress information; this may be null if progress is not desired.
Remarks
If any extracted files already exist on disk, they will be overwritten.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)