Class ApiComObject<T>
Wrapper over COM object, provided by CAMAPI. It releases object after using
Inheritance
object
ApiComObject<T>
Implements
System.IDisposable
Namespace: CAMAPI.DotnetHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public class ApiComObject<T> : Object, IDisposable
Type Parameters
Name | Description |
---|---|
T | Any interface from CAMAPI |
Constructors
ApiComObject(T?)
Wrapper over COM object, provided by CAMAPI. It releases object after using
Declaration
public ApiComObject(T? obj)
Parameters
Type | Name | Description |
---|---|---|
T | obj | Object created in main CAM application |
Properties
Instance
Wrapping object
Declaration
public T Instance { get; }
Property Value
Type | Description |
---|---|
T |
Methods
Dispose()
Release COM object
Declaration
public void Dispose()
Implements
System.IDisposable