DirectoryEnumerateFileSystemEntries Method (String, PathFormat) |
[AlphaFS] Returns an enumerable collection of file names and directory names in a specified path.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static IEnumerable<string> EnumerateFileSystemEntries(
string path,
PathFormat pathFormat
)
Public Shared Function EnumerateFileSystemEntries (
path As String,
pathFormat As PathFormat
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ EnumerateFileSystemEntries(
String^ path,
PathFormat pathFormat
)
static member EnumerateFileSystemEntries :
path : string *
pathFormat : PathFormat -> IEnumerable<string>
Parameters
- path
- Type: SystemString
The directory to search. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
IEnumerableStringAn enumerable collection of file system entries in the directory specified by
path.
Exceptions See Also