CoreShellFolderBindToObjectT Method (IWithIdList, IBindCtx, Boolean) |
Retrieves a handler, typically the Shell folder object that implements IShellFolder for a particular item.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public T BindToObject<T>(
IWithIdList idList,
IBindCtx context = null,
bool throwOnError = true
)
where T : class
Parameters
- idList
- Type: ShellBoost.CoreIWithIdList
The identifier list. - context (Optional)
- Type: System.Runtime.InteropServices.ComTypesIBindCtx
An optional bind context object to be used during this operation. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Type Parameters
- T
- The expected type of the returned object.
Return Value
Type:
T
The object requested or null.
See Also