Click or drag to resize

ItemBindToHandler Method (Guid, Guid, IBindCtx, Boolean)

Binds to a handler as specified by the handler ID value (BHID).

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public Object BindToHandler(
	Guid bhid,
	Guid iid,
	IBindCtx context = null,
	bool throwOnError = true
)

Parameters

bhid
Type: SystemGuid
Reference to a GUID that specifies which handler will be created.
iid
Type: SystemGuid
The IID of the object type to retrieve.
context (Optional)
Type: System.Runtime.InteropServices.ComTypesIBindCtx
An optional a bind context object.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Object
An instance of the required object or null if an error occurred.
See Also