Deployment Tools Foundation
UnpackFiles Method (fileNames, destDirectory, destFileNames)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveInfo ► UnpackFiles(IList<(Of <<'(String>)>>), String, IList<(Of <<'(String>)>>))
Extracts multiple files from the archive.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void UnpackFiles( IList<string> fileNames, string destDirectory, IList<string> destFileNames )
Public Sub UnpackFiles ( fileNames As IList(Of String), destDirectory As String, destFileNames As IList(Of String) )
public: void UnpackFiles( IList<String^>^ fileNames, String^ destDirectory, IList<String^>^ destFileNames )
member UnpackFiles : fileNames : IList<string> * destDirectory : string * destFileNames : IList<string> -> unit
Parameters
- fileNames (IList<(Of <(<'String>)>)>)
- The names of the files in the archive. Each name includes the internal path of the file, if any. File name matching is case-insensitive.
- destDirectory (String)
- This parameter may be null, but if specified it is the root directory for any relative paths in destFileNames.
Remarks
If any extracted files already exist on disk, they will be overwritten.
The destDirectory and destFileNames parameters cannot both be null.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)