ComServerCreateInstanceT Method (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 public T CreateInstance<T>(
CLSCTX context = CLSCTX.CLSCTX_ALL,
bool throwOnError = true
)
Parameters
- context (Optional)
- Type: 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:
TA typed instance of the COM object or the default value.
See Also