Item.BindToHandler Method (Guid, Guid, IBindCtx, Boolean) |
Binds to a handler as specified by the handler ID value (BHID).
Namespace:
callback.ShellBoost.Core.WindowsShell
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntaxpublic Object BindToHandler(
Guid bhid,
Guid iid,
IBindCtx context = null,
bool throwOnError = true
)
Parameters
- bhid
- Type: System.Guid
Reference to a GUID that specifies which handler will be created. - iid
- Type: System.Guid
The IID of the object type to retrieve. - context (Optional)
- Type: System.Runtime.InteropServices.ComTypes.IBindCtx
An optional a bind context object. - throwOnError (Optional)
- Type: System.Boolean
true to throw error; otherwise false.
Return Value
Type:
Object
An instance of the required object or null if an error occurred.
See Also