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