Click or drag to resize

ItemFromIDListNoFolder Method (IWithIdList, Boolean)

Gets an Item instance from a PIDL. Never returns a Folder instance to avoid IShellFolder bindings and possible loops or hangs.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Item FromIDListNoFolder(
	IWithIdList idList,
	bool throwOnError = true
)

Parameters

idList
Type: callback.ShellBoost.CoreIWithIdList
The PIDL.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Item
An Item instance or null.
See Also