Method GetChildDirectoriesInfo
GetChildDirectoriesInfo(SearchOptions?)
Gets info for the child directories that reside in this directory and match the specified search options.
Declaration
IEnumerable<CachedDirectoryInfo> GetChildDirectoriesInfo(SearchOptions? options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchOptions | options |
Returns
| Type | Description |
|---|---|
| IEnumerable<CachedDirectoryInfo> |
Remarks
An entry that is deleted during the enumeration may or may not be included.
GetChildDirectoriesInfo(string, SearchOptions?)
Gets info for the child directories that reside in this directory and match the specified search pattern and search options.
Declaration
IEnumerable<CachedDirectoryInfo> GetChildDirectoriesInfo(string searchPattern, SearchOptions? options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | searchPattern | |
| SearchOptions | options |
Returns
| Type | Description |
|---|---|
| IEnumerable<CachedDirectoryInfo> |
Remarks
An entry that is deleted during the enumeration may or may not be included.