Table of Contents

Class TypeQueryHandle

Namespace
GObject.Internal
Assembly
GObject-2.0.dll
public abstract class TypeQueryHandle : SafeHandle, IDisposable
Inheritance
TypeQueryHandle
Implements
Derived
Inherited Members

Constructors

TypeQueryHandle(bool)

protected TypeQueryHandle(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 sealed bool IsInvalid { get; }

Property Value

bool

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

Methods

Equals(TypeQueryHandle?)

public bool Equals(TypeQueryHandle? other)

Parameters

other TypeQueryHandle

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetClassSize()

public uint GetClassSize()

Returns

uint

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInstanceSize()

public uint GetInstanceSize()

Returns

uint

GetType()

public nuint GetType()

Returns

nuint

GetTypeName()

public IntPtr GetTypeName()

Returns

IntPtr

SetClassSize(uint)

public void SetClassSize(uint value)

Parameters

value uint

SetInstanceSize(uint)

public void SetInstanceSize(uint value)

Parameters

value uint

SetType(nuint)

public void SetType(nuint value)

Parameters

value nuint

SetTypeName(IntPtr)

public void SetTypeName(IntPtr value)

Parameters

value IntPtr