GetFiles Method (searchPattern)

Microsoft Deployment Compression & Installer

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++
public IList<ZipFileInfo> GetFiles(
	string searchPattern
)
Public Function GetFiles ( 
	searchPattern As String
) As IList(Of ZipFileInfo)
public:
IList<ZipFileInfo^>^ GetFiles(
	String^ searchPattern
)
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.9.1006.0)