Class CenterBoxClassOwnedHandle
public class CenterBoxClassOwnedHandle : CenterBoxClassHandle, IDisposable
- Inheritance
-
CenterBoxClassOwnedHandle
- Implements
- Inherited Members
Constructors
CenterBoxClassOwnedHandle(IntPtr)
Creates a new instance of CenterBoxClassOwnedHandle. Assumes that the given pointer is owned by the runtime.
public CenterBoxClassOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a CenterBoxClassOwnedHandle from a pointer that is assumed unowned.
public static CenterBoxClassOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA 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()