[]
Root IUnknown class to interop with COM object
public class ComObject : CppObject, IDisposable, IUnknown
Name | Description |
---|---|
ComObject(IntPtr) | Initializes a new instance of the ComObject class. |
ComObject(object) | Initializes a new instance of the ComObject class from a IUnknown object. |
Name | Description |
---|---|
As<T>(IntPtr) | Queries a managed object for a particular COM interface support (This method is a shortcut to QueryInterface(Guid, out IntPtr)) |
As<T>(object) | Queries a managed object for a particular COM interface support (This method is a shortcut to QueryInterface(Guid, out IntPtr)) |
Dispose(bool) | Clean up any resources being used. |
EqualsComObject<T>(T, T) | Compares 2 COM objects and return true if the native pointer is the same. |
NativePointerUpdated(IntPtr) | Method called when the NativePointer is updated. |
NativePointerUpdating() | Method called when NativePointer is going to be update. |
QueryInterface(Guid, out IntPtr) | Query this instance for a particular COM GUID/interface support. |
QueryInterfaceFrom<T>(T) | Query Interface for a particular interface support and attach to the given instance. |
QueryInterfaceOrNull(Guid) | Query instance for a particular COM GUID/interface support. |
QueryInterfaceOrNull<T>() | Query Interface for a particular interface support. |
QueryInterfaceOrNull<T>(IntPtr) | Queries a managed object for a particular COM interface support. |
QueryInterface<T>() | Query this instance for a particular COM interface support. |
QueryInterface<T>(object) | Queries a managed object for a particular COM interface support. |
Name | Description |
---|---|
explicit operator ComObject(IntPtr) |