DirectoryInfo.GetFiles Method
Returns a file list from the current directory matching the given searchPattern.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
public FileInfo GetFiles (
string searchPattern
)
Parameters
- searchPattern
The search string, such as "*.txt".
Return Value
An array of type FileInfo.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.
See Also
Reference
DirectoryInfo Class
DirectoryInfo Members
System.IO Namespace