Click or drag to resize

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:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
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: callback.ShellBoost.Core.UtilitiesWin32FindDataEnumerateOptions
The options.

Return Value

Type: 
An enumerable collection of file-system entries in the specified path.
Exceptions
ExceptionCondition
ArgumentNullExceptiondirectoryPath or foundFunction is null.
See Also