Directory.GetFiles Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the names of files in a specified directory.

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

Overload List

  Name Description
GetFiles(String) Returns the names of files in the specified directory.
GetFiles(String, String) Returns the names of files in the specified directory that match the specified search pattern.

Top

See Also

Reference

Directory Class

Directory Members

System.IO Namespace