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