Method GetRelativeChildDirectories
GetRelativeChildDirectories(SearchOptions?)
Gets the child directories that reside in this directory, relative to this directory, which match the specified search options.
Declaration
IEnumerable<IRelativeDirectoryPath> GetRelativeChildDirectories(SearchOptions? options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchOptions | options | The options to use when searching the directory. |
Returns
| Type | Description |
|---|---|
| IEnumerable<IRelativeDirectoryPath> |
GetRelativeChildDirectories(string, SearchOptions?)
Gets the child directories that reside in this directory, relative to this directory, which match the specified search pattern and search options.
Declaration
IEnumerable<IRelativeDirectoryPath> GetRelativeChildDirectories(string searchPattern, SearchOptions? options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | searchPattern | The pattern that describes the names to search, which can contain wildcards |
| SearchOptions | options | The options to use when searching the directory. |
Returns
| Type | Description |
|---|---|
| IEnumerable<IRelativeDirectoryPath> |