Class NonNullablePlatformStringHandle
public abstract class NonNullablePlatformStringHandle : SafeHandle, IDisposable
- Inheritance
-
NonNullablePlatformStringHandle
- Implements
- Derived
- Inherited Members
Constructors
NonNullablePlatformStringHandle(bool)
protected NonNullablePlatformStringHandle(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
- GException
Thrown if the string could not be converted into a utf8 string.