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