Table of Contents

Class IMContextSimplePrivateUnownedHandle

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class IMContextSimplePrivateUnownedHandle : IMContextSimplePrivateHandle, IDisposable
Inheritance
IMContextSimplePrivateUnownedHandle
Implements
Inherited Members

Constructors

IMContextSimplePrivateUnownedHandle(IntPtr)

Creates a new instance of IMContextSimplePrivateUnownedHandle. Assumes that the given pointer is unowned by the runtime.

public IMContextSimplePrivateUnownedHandle(IntPtr ptr)

Parameters

ptr IntPtr

Properties

NullHandle

public static IMContextSimplePrivateUnownedHandle NullHandle { get; }

Property Value

IMContextSimplePrivateUnownedHandle

Methods

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.