Table of Contents

Class NonNullablePlatformStringUnownedHandle

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class NonNullablePlatformStringUnownedHandle : NonNullablePlatformStringHandle, IDisposable
Inheritance
NonNullablePlatformStringUnownedHandle
Implements
Inherited Members

Methods

Create(string)

Creates a non nullable platform string handle for the given string.

public static NonNullablePlatformStringUnownedHandle Create(string s)

Parameters

s string

The string which should be used to create the handle.

Returns

NonNullablePlatformStringUnownedHandle

A non nullable utf8 string handle

Exceptions

GException

Thrown if the string could not be converted into a platform string.

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

protected override bool ReleaseHandle()

Returns

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.