Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 2.0
System.IO
Directory Class
Directory Methods
GetFiles Method
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:

Want more? Here are some additional resources on this topic:

.NET Framework Class Library
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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker