Table of Contents

Class PlatformStringArrayNullTerminatedUnownedHandle

Namespace
GLib.Internal
Assembly
GLib-2.0.dll

A handle of a string array which is not owned by the dotnet runtime.

public class PlatformStringArrayNullTerminatedUnownedHandle : PlatformStringArrayNullTerminatedHandle, IDisposable
Inheritance
PlatformStringArrayNullTerminatedUnownedHandle
Implements
Inherited Members

Constructors

PlatformStringArrayNullTerminatedUnownedHandle(IntPtr)

public PlatformStringArrayNullTerminatedUnownedHandle(IntPtr ptr)

Parameters

ptr IntPtr

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.

NullHandle

public static PlatformStringArrayNullTerminatedUnownedHandle NullHandle { get; }

Property Value

PlatformStringArrayNullTerminatedUnownedHandle

Methods

Create(string[])

public static PlatformStringArrayNullTerminatedUnownedHandle Create(string[] array)

Parameters

array string[]

Returns

PlatformStringArrayNullTerminatedUnownedHandle

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.