Deployment Tools Foundation
GetFiles Method (searchPattern)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression.Cab ► CabInfo ► GetFiles(String)
Gets information about the certain files contained in the archive file.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public IList<CabFileInfo> GetFiles( string searchPattern )
Public Function GetFiles ( _ searchPattern As String _ ) As IList(Of CabFileInfo)
public: IList<CabFileInfo^>^ GetFiles( String^ searchPattern )
Parameters
- searchPattern (String)
- The search string, such as "*.txt".
Return Value
A list of CabFileInfo objects, each containing
information about a file in the archive.