DirectoryInfoEnumerateFiles Method (DirectoryEnumerationOptions) |
Returns an enumerable collection of file information in the current directory.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public IEnumerable<FileInfo> EnumerateFiles(
DirectoryEnumerationOptions options
)
Public Function EnumerateFiles (
options As DirectoryEnumerationOptions
) As IEnumerable(Of FileInfo)
public:
IEnumerable<FileInfo^>^ EnumerateFiles(
DirectoryEnumerationOptions options
)
member EnumerateFiles :
options : DirectoryEnumerationOptions -> IEnumerable<FileInfo>
Parameters
- options
- Type: Alphaleonis.Win32.FilesystemDirectoryEnumerationOptions
DirectoryEnumerationOptions flags that specify how the directory is to be enumerated.
Return Value
Type:
IEnumerableFileInfoAn enumerable collection of the files in the current directory.
Exceptions See Also