DirectoryEnumerateFileSystemEntryInfosT Method (String, PathFormat) |
[AlphaFS] Returns an enumerable collection of file system entries in a specified path.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<T> EnumerateFileSystemEntryInfos<T>(
string path,
PathFormat pathFormat
)
Public Shared Function EnumerateFileSystemEntryInfos(Of T) (
path As String,
pathFormat As PathFormat
) As IEnumerable(Of T)
public:
generic<typename T>
static IEnumerable<T>^ EnumerateFileSystemEntryInfos(
String^ path,
PathFormat pathFormat
)
static member EnumerateFileSystemEntryInfos :
path : string *
pathFormat : PathFormat -> IEnumerable<'T>
Parameters
- path
- Type: SystemString
The directory to search. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Type Parameters
- T
Return Value
Type:
IEnumerableT
The matching file system entries. The type of the items is determined by the type
T.
Exceptions See Also