Click or drag to resize

ComServerCreateInstance Method (Guid, CLSCTX, Boolean)

Creates an instance of this object.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public Object CreateInstance(
	Guid iid,
	CLSCTX context = CLSCTX.CLSCTX_ALL,
	bool throwOnError = true
)

Parameters

iid
Type: SystemGuid
The requested COM interface identifier.
context (Optional)
Type: ShellBoost.Core.WindowsShellCLSCTX
The context.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw.

Return Value

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