Click or drag to resize

Win32FindDataEnumerateFileSystemEntries Method (String, Win32FindDataEnumerateOptions, Boolean)

Returns an enumerable collection of file names and directory names in a specified path.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IEnumerable<Win32FindData> EnumerateFileSystemEntries(
	string directoryPath,
	Win32FindDataEnumerateOptions options = Win32FindDataEnumerateOptions.None,
	bool throwOnError = false
)

Parameters

directoryPath
Type: SystemString
The relative or absolute path to the directory to search. This string is not case-sensitive.
options (Optional)
Type: callback.ShellBoost.Core.UtilitiesWin32FindDataEnumerateOptions
The options.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be thrown; otherwise skip errors and continue.

Return Value

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