GetFiles Method (searchPattern)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetFiles Method (searchPattern)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.Compression.CabCabInfoGetFiles(String)
Gets information about the certain files contained in the archive file.
Declaration Syntax
C# Visual Basic Visual C++ F#
public IList<CabFileInfo> GetFiles(
	string searchPattern
)
Public Function GetFiles ( 
	searchPattern As String
) As IList(Of CabFileInfo)
public:
IList<CabFileInfo^>^ GetFiles(
	String^ searchPattern
)
member GetFiles : 
        searchPattern : string -> IList<CabFileInfo> 
Parameters
searchPattern (String)
The search string, such as "*.txt".
Return Value
IList<(Of <(<'CabFileInfo>)>)>
A list of CabFileInfo objects, each containing information about a file in the archive.

Assembly: Microsoft.Deployment.Compression.Cab (Module: Microsoft.Deployment.Compression.Cab.dll) Version: 3.0.0.0 (3.11.1.2318)