Class WidgetPrivateUnownedHandle
public class WidgetPrivateUnownedHandle : WidgetPrivateHandle, IDisposable
- Inheritance
-
WidgetPrivateUnownedHandle
- Implements
- Inherited Members
Constructors
WidgetPrivateUnownedHandle(nint)
Creates a new instance of WidgetPrivateUnownedHandle. Assumes that the given pointer is unowned by the runtime.
public WidgetPrivateUnownedHandle(nint ptr)
Parameters
ptr
nint
Properties
NullHandle
public static WidgetPrivateUnownedHandle NullHandle { get; }
Property Value
Methods
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()