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