Table of Contents

Class TypeInfoHandle

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

Constructors

TypeInfoHandle(bool)

protected TypeInfoHandle(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(TypeInfoHandle?)

public bool Equals(TypeInfoHandle? other)

Parameters

other TypeInfoHandle

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.

GetBaseFinalize()

public BaseFinalizeFunc GetBaseFinalize()

Returns

BaseFinalizeFunc

GetBaseInit()

public BaseInitFunc GetBaseInit()

Returns

BaseInitFunc

GetClassData()

public IntPtr GetClassData()

Returns

IntPtr

GetClassFinalize()

public ClassFinalizeFunc GetClassFinalize()

Returns

ClassFinalizeFunc

GetClassInit()

public ClassInitFunc GetClassInit()

Returns

ClassInitFunc

GetClassSize()

public ushort GetClassSize()

Returns

ushort

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInstanceInit()

public InstanceInitFunc GetInstanceInit()

Returns

InstanceInitFunc

GetInstanceSize()

public ushort GetInstanceSize()

Returns

ushort

GetNPreallocs()

public ushort GetNPreallocs()

Returns

ushort

GetValueTable()

public IntPtr GetValueTable()

Returns

IntPtr

SetBaseFinalize(BaseFinalizeFunc)

public void SetBaseFinalize(BaseFinalizeFunc value)

Parameters

value BaseFinalizeFunc

SetBaseInit(BaseInitFunc)

public void SetBaseInit(BaseInitFunc value)

Parameters

value BaseInitFunc

SetClassData(IntPtr)

public void SetClassData(IntPtr value)

Parameters

value IntPtr

SetClassFinalize(ClassFinalizeFunc)

public void SetClassFinalize(ClassFinalizeFunc value)

Parameters

value ClassFinalizeFunc

SetClassInit(ClassInitFunc)

public void SetClassInit(ClassInitFunc value)

Parameters

value ClassInitFunc

SetClassSize(ushort)

public void SetClassSize(ushort value)

Parameters

value ushort

SetInstanceInit(InstanceInitFunc)

public void SetInstanceInit(InstanceInitFunc value)

Parameters

value InstanceInitFunc

SetInstanceSize(ushort)

public void SetInstanceSize(ushort value)

Parameters

value ushort

SetNPreallocs(ushort)

public void SetNPreallocs(ushort value)

Parameters

value ushort

SetValueTable(IntPtr)

public void SetValueTable(IntPtr value)

Parameters

value IntPtr