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