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:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Item FromIDListNoFolder(
IWithIdList idList,
bool throwOnError = true
)
Parameters
- idList
- Type: ShellBoost.CoreIWithIdList
The PIDL. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
ItemAn Item instance or null.
See Also