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