GetFiles Method (searchPattern)

DTF API

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

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