CoreShellFolderBindToObject Method (IntPtr, Guid, 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 Object BindToObject(
IntPtr pidl,
Guid iid,
IBindCtx context = null,
bool throwOnError = true
)
Parameters
- pidl
- Type: SystemIntPtr
The PIDL. - iid
- Type: SystemGuid
A reference to the IID of the interface to retrieve. - 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.
Return Value
Type:
Object
The object requested or null.
See Also