DirectoryGetDirectories(String, String) Method |
Returns an array populated with the names of directories in the specified directory matched against the search pattern.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static string[] GetDirectories(
string path,
string searchPattern
)
Parameters
- path String
- Directory to search.
- searchPattern String
- Pattern to match the directories against.
Return Value
StringA string array populated with the names of directories 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