VDirectoryInfo.EnumerateFileSystemInfos Method
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9147)
EnumerateFileSystemInfos()
Returns an enumerator that yields instances of the VFile
Declaration
public IEnumerable<VFileSystemInfo> EnumerateFileSystemInfos()
Returns
Type | Description |
---|---|
IEnumerable<VFile |
An enumerator that yields instances of the VFile |
EnumerateFileSystemInfos(String)
Returns an enumerator that yields instances of the VFilesearchPattern
.
Declaration
public IEnumerable<VFileSystemInfo> EnumerateFileSystemInfos(string searchPattern)
Parameters
Type | Name | Description |
---|---|---|
String | searchPattern | The search pattern to which the name of the returned file system info must conform. Search patterns may include '?' and '*' wildcards. |
Returns
Type | Description |
---|---|
IEnumerable<VFile |
An enumerator that yields instances of the VFile |
EnumerateFileSystemInfos(String, SearchOption)
Returns an enumerator that yields instances of the VFilesearchPattern
.
When the searchPattern
has value All
Declaration
public IEnumerable<VFileSystemInfo> EnumerateFileSystemInfos(string searchPattern, SearchOption searchOption)
Parameters
Type | Name | Description |
---|---|---|
String | searchPattern | The search pattern to which the name of the returned file system info must conform. Search patterns may include '?' and '*' wildcards. |
Search |
searchOption | When the searchOption has value All |
Returns
Type | Description |
---|---|
IEnumerable<VFile |
An enumerator that yields yields instances of the VFile |