VDirectoryInfo.GetFiles Method
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9147)
GetFiles()
Returns an array that contains instances of the VFile
Declaration
public VFileInfo[] GetFiles()
Returns
Type | Description |
---|---|
VFile |
An array that contains instances of the VFile |
GetFiles(String)
Returns an array that contains full paths to files
that are located in a directory
and their name matches the given searchPattern
.
Declaration
public VFileInfo[] GetFiles(string searchPattern)
Parameters
Type | Name | Description |
---|---|---|
String | searchPattern | The search pattern to which the name of the returned file must conform. Search patterns may include '?' and '*' wildcards. |
Returns
Type | Description |
---|---|
VFile |
An array that contains instances of the VFile |
GetFiles(String, SearchOption)
Returns an array that contains instances of the VFilesearchPattern
.
When the searchPattern
has value All
Declaration
public VFileInfo[] GetFiles(string searchPattern, SearchOption searchOption)
Parameters
Type | Name | Description |
---|---|---|
String | searchPattern | The search pattern to which the name of the returned file must conform. Search patterns may include '?' and '*' wildcards. |
Search |
searchOption | When the searchOption has value All |