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.
Declaration Syntax
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 )
Parameters
- searchPattern (String)
- The search string, such as "*.txt".
Return Value
A list of ArchiveFileInfo objects, each containing
information about a file in the archive.