DirectoryGetDirectories Method (String, String, SearchOption) |
Gets the names of the subdirectories (including their paths) that match the specified search
pattern in the current directory, and optionally searches subdirectories.
Namespace: CMS.AmazonStorageAssembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 8.2.23
Syntax public override string[] GetDirectories(
string path,
string searchPattern,
SearchOption searchOption
)
Parameters
- path
- Type: SystemString
Path to retrieve directories from. - searchPattern
- Type: SystemString
Search pattern. - searchOption
- Type: CMS.IOSearchOption
Specifies whether to search the current directory, or the current directory and all subdirectories.
Return Value
Type:
StringSee Also