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