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