Win32FindDataEnumerateFileSystemEntries Method (String, EventHandlerWin32FindDataEventArgs, Win32FindDataEnumerateOptions) |
Enumerates the collection of file names and directory names in a specified path and call a function for each entry.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static void EnumerateFileSystemEntries(
string directoryPath,
EventHandler<Win32FindDataEventArgs> foundFunction,
Win32FindDataEnumerateOptions options = Win32FindDataEnumerateOptions.None
)
Parameters
- directoryPath
- Type: SystemString
The relative or absolute path to the directory to search. This string is not case-sensitive. - foundFunction
- Type: SystemEventHandlerWin32FindDataEventArgs
A function to call for each found entry. - options (Optional)
- Type: ShellBoost.Core.UtilitiesWin32FindDataEnumerateOptions
The options.
Return Value
Type:
An enumerable collection of file-system entries in the specified path.
Exceptions See Also