Click or drag to resize

CoreShellFolderEnumObjects Method (IntPtr, SHCONTF, Boolean)

Enables a client to determine the contents of a folder by creating an item identifier enumeration object.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public IEnumerable<ShellItemIdList> EnumObjects(
	IntPtr hwnd,
	SHCONTF flags = SHCONTF.SHCONTF_FOLDERS|SHCONTF.SHCONTF_NONFOLDERS,
	bool throwOnError = true
)

Parameters

hwnd
Type: SystemIntPtr
If user input is required to perform the enumeration, this window handle should be used by the enumeration object as the parent window to take user input.
flags (Optional)
Type: ShellBoost.Core.WindowsShellSHCONTF
The options.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: IEnumerableShellItemIdList
A list of sub objects of this instance.
See Also