Deployment Tools Foundation
UnpackFileSet Method (fileNames, destDirectory)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveInfo ► UnpackFileSet(IDictionary<(Of <(String, String>)>), String)
Extracts multiple files from the archive.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void UnpackFileSet( IDictionary<string, string> fileNames, string destDirectory )
Public Sub UnpackFileSet ( _ fileNames As IDictionary(Of String, String), _ destDirectory As String _ )
public: void UnpackFileSet( IDictionary<String^, String^>^ fileNames, String^ destDirectory )
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 fileNameMap.
Remarks
If any extracted files already exist on disk, they will be overwritten.