GetFiles Method
MSDN Home
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Class Library Reference
System.IO
Directory Class
Directory Methods
GetFiles Method
GetFiles Method (String)
GetFiles Method (String, Strin ...
GetFiles Method (String, Strin ...
Directory Methods
CreateDirectory Method
Delete Method
Exists Method
GetAccessControl Method
GetCreationTime Method
GetCreationTimeUtc Method
GetCurrentDirectory Method
GetDirectories Method
GetDirectoryRoot Method
GetFiles Method
GetFileSystemEntries Method
GetLastAccessTime Method
GetLastAccessTimeUtc Method
GetLastWriteTime Method
GetLastWriteTimeUtc Method
GetLogicalDrives Method
GetParent Method
Move Method
SetAccessControl Method
SetCreationTime Method
SetCreationTimeUtc Method
SetCurrentDirectory Method
SetLastAccessTime Method
SetLastAccessTimeUtc Method
SetLastWriteTime Method
SetLastWriteTimeUtc Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
Directory.GetFiles Method
Returns the names of files in a specified directory.
Overload List
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.
See Also
Reference
Directory Class
Directory Members
System.IO Namespace
Other Resources
File and Stream I/O
How to: Read Text from a File
How to: Write Text to a File
Tags :