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