Share via


Directory.EnumerateFiles Method

Returns an enumerable collection of file names in a specified path.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public static IEnumerable EnumerateFiles (
         string path
)

Parameters

  • path
    The directory to search.

Return Value

An enumerable collection of file names in the directory specified by path.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

Directory Class
Directory Members
System.IO Namespace