3 out of 4 rated this helpful - Rate this topic

DirectoryInfo.GetFiles Method

Returns a file list from the current directory.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetFiles() Returns a file list from the current directory.
Public method GetFiles(String) Returns a file list from the current directory matching the given search pattern.
Public method GetFiles(String, SearchOption) Returns a file list from the current directory matching the given search pattern and using a value to determine whether to search subdirectories.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.