Class RectangleIntOwnedHandle
public class RectangleIntOwnedHandle : RectangleIntHandle, IDisposable, IEquatable<RectangleIntHandle>
- Inheritance
-
RectangleIntOwnedHandle
- Implements
- Derived
- Inherited Members
Constructors
RectangleIntOwnedHandle(IntPtr)
Creates a new instance of RectangleIntOwnedHandle. Assumes that the given pointer is owned by the runtime.
public RectangleIntOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a RectangleIntOwnedHandle from a pointer that is assumed unowned. To do so a boxed copy is created of the given pointer to be used as the handle.
public static RectangleIntOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA pointer to a RectangleInt which is not owned by the runtime.
Returns
- RectangleIntOwnedHandle
A RectangleIntOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()