DirectoryEnumerateDirectories Method (String, PathFormat) |
[AlphaFS] Returns an enumerable collection of directory names in a specified path.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static IEnumerable<string> EnumerateDirectories(
string path,
PathFormat pathFormat
)
Public Shared Function EnumerateDirectories (
path As String,
pathFormat As PathFormat
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ EnumerateDirectories(
String^ path,
PathFormat pathFormat
)
static member EnumerateDirectories :
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 the full names (including paths) for the directories in the directory specified by
path.
Exceptions See Also