DirectoryInfo.GetDirectories Method
Returns an array of directories in the current DirectoryInfo matching the given search criteria.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
public DirectoryInfo GetDirectories (
string searchPattern
)
Parameters
- searchPattern
The search string, such as "System*", used to search for all directories beginning with the word "System".
Return Value
An array of type DirectoryInfo matching searchPattern.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.
See Also
Reference
DirectoryInfo Class
DirectoryInfo Members
System.IO Namespace