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