Table of Contents

Class SequenceOwnedHandle

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

Constructors

SequenceOwnedHandle(nint)

Creates a new instance of SequenceOwnedHandle. Assumes that the given pointer is owned by the runtime.

public SequenceOwnedHandle(nint ptr)

Parameters

ptr nint

Methods

FromUnowned(nint)

Create a SequenceOwnedHandle from a pointer that is assumed unowned.

public static SequenceOwnedHandle FromUnowned(nint ptr)

Parameters

ptr nint

A pointer to a Sequence which is not owned by the runtime.

Returns

SequenceOwnedHandle

A SequenceOwnedHandle

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.