Class CenterBoxClassOwnedHandle
public class CenterBoxClassOwnedHandle : CenterBoxClassHandle, IDisposable
- Inheritance
-
CenterBoxClassOwnedHandle
- Implements
- Inherited Members
Constructors
CenterBoxClassOwnedHandle(nint)
Creates a new instance of CenterBoxClassOwnedHandle. Assumes that the given pointer is owned by the runtime.
public CenterBoxClassOwnedHandle(nint ptr)
Parameters
ptr
nint
Methods
FromUnowned(nint)
Create a CenterBoxClassOwnedHandle from a pointer that is assumed unowned.
public static CenterBoxClassOwnedHandle FromUnowned(nint ptr)
Parameters
ptr
nintA pointer to a CenterBoxClass which is not owned by the runtime.
Returns
- CenterBoxClassOwnedHandle
A CenterBoxClassOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()