GetFiles Method (searchPattern)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetFiles Method (searchPattern)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveInfoGetFiles(String)
Gets information about the certain files contained in the archive file.
Declaration Syntax
C# Visual Basic Visual C++ F#
public IList<ArchiveFileInfo> GetFiles(
	string searchPattern
)
Public Function GetFiles ( 
	searchPattern As String
) As IList(Of ArchiveFileInfo)
public:
IList<ArchiveFileInfo^>^ GetFiles(
	String^ searchPattern
)
member GetFiles : 
        searchPattern : string -> IList<ArchiveFileInfo> 
Parameters
searchPattern (String)
The search string, such as "*.txt".
Return Value
IList<(Of <(<'ArchiveFileInfo>)>)>
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.11.1.2318)