Table of Contents

Class NonNullablePlatformStringHandle

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
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

bool

true if the handle value is invalid; otherwise, false.

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.