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