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