Class SchemaAttributeOwnedHandle
public class SchemaAttributeOwnedHandle : SchemaAttributeHandle, IDisposable, IEquatable<SchemaAttributeHandle>
- Inheritance
-
SchemaAttributeOwnedHandle
- Implements
- Derived
- Inherited Members
Constructors
SchemaAttributeOwnedHandle(nint)
Creates a new instance of SchemaAttributeOwnedHandle. Assumes that the given pointer is owned by the runtime.
public SchemaAttributeOwnedHandle(nint ptr)
Parameters
ptrnint
Methods
FromUnowned(nint)
Create a SchemaAttributeOwnedHandle from a pointer that is assumed unowned. To do so a boxed copy is created of the given pointer to be used as the handle.
public static SchemaAttributeOwnedHandle FromUnowned(nint ptr)
Parameters
ptrnintA pointer to a SchemaAttribute which is not owned by the runtime.
Returns
- SchemaAttributeOwnedHandle
A SchemaAttributeOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()