Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Directory.GetFiles Method

Returns the names of files in a specified directory.

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft