FindFiles Method (pattern)

DTF API

Copy image CopyHover image
Deployment Tools Foundation FindFiles Method (pattern)
Gets the list of file keys whose long file names match a specified regular-expression search pattern.
Declaration Syntax
C# Visual Basic Visual C++ F#
public string[] FindFiles(
	Regex pattern
)
Public Function FindFiles ( 
	pattern As Regex
) As String()
public:
array<String^>^ FindFiles(
	Regex^ pattern
)
member FindFiles : 
        pattern : Regex -> string[] 
Parameters
pattern (Regex)
Regular expression search pattern
Return Value
array<String>[]()[][]
Array of file keys, or a 0-length array if none are found

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)