Click or drag to resize

ItemFromIDList Method (IntPtr, Boolean)

Gets an Item instance from a PIDL.

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

Parameters

pidl
Type: SystemIntPtr
The pidl.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Item
An Item instance or null.
Exceptions
ExceptionCondition
ArgumentExceptionpidl is IntPtr.Zero.
See Also