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