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.

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 )

- 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 fileNameMap.
- progressHandler (EventHandler<(Of <(ArchiveProgressEventArgs>)>))
- Handler for receiving progress information; this may be null if progress is not desired.

If any extracted files already exist on disk, they will be overwritten.