ItemGetNativeItemFromIDList Method (IntPtr, Boolean) |
Gets an IShellItem instance from a PIDL.
Namespace:
callback.ShellBoost.Core.WindowsShell
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public static Object GetNativeItemFromIDList(
IntPtr pidl,
bool throwOnError = true
)
Parameters
- pidl
- Type: SystemIntPtr
The PIDL. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Object
A native IShellItem instance or null.
Exceptions See Also