Method GetRelativeChildEntries
GetRelativeChildEntries(SearchOptions?)
Gets the child files/directories that reside in this directory, relative to this directory, which match the specified search options.
Declaration
IEnumerable<IRelativePath> GetRelativeChildEntries(SearchOptions? options = null)
Parameters
Type | Name | Description |
---|---|---|
SearchOptions | options | The options to use when searching the directory. |
Returns
Type | Description |
---|---|
IEnumerable<IRelativePath> |
GetRelativeChildEntries(string, SearchOptions?)
Gets the child files/directories that reside in this directory, relative to this directory, which match the specified search pattern and search options.
Declaration
IEnumerable<IRelativePath> GetRelativeChildEntries(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<IRelativePath> |