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