Click or drag to resize

ItemBindToHandlerT Method (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 T BindToHandler<T>(
	Guid bhid,
	IBindCtx context = null,
	bool throwOnError = true
)

Parameters

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

Type Parameters

T
The expected handler type.

Return Value

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