[]
Root class for all Cpp interop object.
public class CppObject : DisposeBase, IDisposable
Public Class CppObject
Inherits DisposeBase
Implements IDisposable
| Name | Description |
|---|---|
| CppObject() | Initializes a new instance of the CppObject class. |
| CppObject(nint) | Initializes a new instance of the CppObject class. |
| Name | Description |
|---|---|
| NativePointer | Get a pointer to the underlying Cpp Object |
| Tag | Gets or sets a custom user tag object to associate with this instance.. |
| Name | Description |
|---|---|
| Dispose(bool) | Clean up any resources being used. |
| FromPointer<T>(nint) | Instantiate a ComObject from a native pointer. |
| FromTemp(CppObject) | Initializes this instance with a pointer from a temporary object and set the pointer of the temporary |
| FromTemp(nint) | Initializes this instance with a pointer from a temporary object and set the pointer of the temporary |
| NativePointerUpdated(nint) | Method called when the NativePointer is updated. |
| NativePointerUpdating() | Method called when NativePointer is going to be update. |
| ToCallbackPtr<TCallback>(ICallbackable) | Return the unmanaged C++ pointer from a ICallbackable instance. |
| Name | Description |
|---|---|
| explicit operator nint(CppObject) |