Directory.GetFiles Method
.NET Framework 3.0
Returns the names of files in a specified directory.
Directory Members
System.IO Namespace
Reading Text from a File
Writing Text to a File
| Name | Description |
|---|---|
| Directory.GetFiles (String) | Returns the names of files in the specified directory. Supported by the .NET Compact Framework. |
| Directory.GetFiles (String, String) | Returns the names of files in the specified directory that match the specified search pattern. Supported by the .NET Compact Framework. |
| Directory.GetFiles (String, String, SearchOption) | Returns the names of files in the specified directory that match the specified search pattern, using a value to determine whether to search subdirectories. |
Reference
Directory ClassDirectory Members
System.IO Namespace
Other Resources
File and Stream I/OReading Text from a File
Writing Text to a File