VirtualDirectoryGetDirectories(String, String) Method |
Gets an array of directories matching the specified search pattern from the
current directory.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static string[] GetDirectories(
string path,
string searchPattern
)
Parameters
- path String
- The path to search.
- searchPattern String
-
The search string to match against the names of files in path. The parameter cannot
end in two periods ("..") or contain two periods ("..") followed by
DirectorySeparatorChar or AltDirectorySeparatorChar, nor can it contain any
of the characters in InvalidPathChars.
Return Value
String
A
String array of directories matching the search pattern.
See Also