Class WidgetClassPrivateOwnedHandle
public class WidgetClassPrivateOwnedHandle : WidgetClassPrivateHandle, IDisposable
- Inheritance
-
WidgetClassPrivateOwnedHandle
- Implements
- Inherited Members
Constructors
WidgetClassPrivateOwnedHandle(IntPtr)
Creates a new instance of WidgetClassPrivateOwnedHandle. Assumes that the given pointer is owned by the runtime.
public WidgetClassPrivateOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a WidgetClassPrivateOwnedHandle from a pointer that is assumed unowned.
public static WidgetClassPrivateOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA 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()