AbstractDirectory.GetDirectories Method (String, String) |
Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntaxpublic virtual string[] GetDirectories(
string path,
string searchPattern
)
Parameters
- path
- Type: System.String
The relative or absolute path to the directory to search. This string is not case-sensitive. - searchPattern
- Type: System.String
Search pattern.
Return Value
Type:
String[]An array of the full names (including paths) of the subdirectories that match the search pattern in the specified directory, or an empty array if no directories are found.
Remarks
See Also