![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
GetFiles Method (searchPattern)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveInfo ► GetFiles(String)
Gets information about the certain files contained in the archive file.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public IList<ArchiveFileInfo> GetFiles( string searchPattern )
Public Function GetFiles ( searchPattern As String ) As IList(Of ArchiveFileInfo)
public: IList<ArchiveFileInfo^>^ GetFiles( String^ searchPattern )
![](collapse_all.gif)
- searchPattern (String)
- The search string, such as "*.txt".
![](collapse_all.gif)
IList<(Of <(<'ArchiveFileInfo>)>)>
A list of ArchiveFileInfo objects, each containing information about a file in the archive.
A list of ArchiveFileInfo objects, each containing information about a file in the archive.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)