Class NonNullableUtf8StringHandle
public abstract class NonNullableUtf8StringHandle : SafeHandle, IDisposable
- Inheritance
-
NonNullableUtf8StringHandle
- Implements
- Derived
- Inherited Members
Constructors
NonNullableUtf8StringHandle(bool)
protected NonNullableUtf8StringHandle(bool ownsHandle)
Parameters
ownsHandle
bool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override bool IsInvalid { get; }
Property Value
Methods
ConvertToString()
Converts the data of this handle into a managed string. In case of a NULL handle this throws a NullHandleException.
public string ConvertToString()
Returns
- string
A string containing the handle data.
Exceptions
- NullHandleException
Thrown in case of a NULL handle