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