Click or drag to resize

ItemBindToHandlerT Method (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
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