Click or drag to resize

ComServerCreateInstanceT Method (CLSCTX, Boolean)

Creates an instance of this object.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public T CreateInstance<T>(
	CLSCTX context = CLSCTX.CLSCTX_ALL,
	bool throwOnError = true
)

Parameters

context (Optional)
Type: callback.ShellBoost.Core.WindowsShellCLSCTX
The context.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw.

Type Parameters

T
The expected type.

Return Value

Type: T
A typed instance of the COM object or the default value.
See Also