Class NonNullableUtf8StringOwnedHandle
Represents an owned non nullable utf8 string. If an instance of this class is collected by the garbage collecctor the associated memory is freed.
public class NonNullableUtf8StringOwnedHandle : NonNullableUtf8StringHandle, IDisposable
- Inheritance
-
NonNullableUtf8StringOwnedHandle
- Implements
- Inherited Members
Methods
Create(string)
Creates a non nullable utf8 string handle for the given string.
public static NonNullableUtf8StringOwnedHandle Create(string s)
Parameters
s
stringThe string which should be used to create the handle.
Returns
- NonNullableUtf8StringOwnedHandle
A non nullable utf8 string handle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()