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