DirectoryGetFiles(String, String) Method |
Returns an array populated with the names of files in the specified directory that match the search pattern.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static string[] GetFiles(
string path,
string searchPattern
)
Parameters
- path String
- Directory to search.
- searchPattern String
- Search pattern to match against files in the supplied directory.
Return Value
StringA string array populated with the names of files in the specified directory that match the search pattern.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also