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