Class StringChunkOwnedHandle
public class StringChunkOwnedHandle : StringChunkHandle, IDisposable
- Inheritance
-
StringChunkOwnedHandle
- Implements
- Inherited Members
Constructors
StringChunkOwnedHandle(nint)
Creates a new instance of StringChunkOwnedHandle. Assumes that the given pointer is owned by the runtime.
public StringChunkOwnedHandle(nint ptr)
Parameters
ptr
nint
Methods
FromUnowned(nint)
Create a StringChunkOwnedHandle from a pointer that is assumed unowned.
public static StringChunkOwnedHandle FromUnowned(nint ptr)
Parameters
ptr
nintA pointer to a StringChunk which is not owned by the runtime.
Returns
- StringChunkOwnedHandle
A StringChunkOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()