DirectoryInfoGetDirectories Method (String, SearchOption) |
Returns an array of directories in the current DirectoryInfo matching the given search criteria and using a value
to determine whether to search subdirectories.
Namespace: CMS.AmazonStorageAssembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 8.2.23
Syntax public override DirectoryInfo[] GetDirectories(
string searchPattern,
SearchOption searchOption
)
Parameters
- 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:
DirectoryInfoSee Also