Table of Contents

Class EnumValue

Namespace
GObject
Assembly
GObject-2.0.dll
public sealed class EnumValue
Inheritance
EnumValue
Inherited Members

Constructors

EnumValue()

public EnumValue()

EnumValue(EnumValueOwnedHandle)

public EnumValue(EnumValueOwnedHandle handle)

Parameters

handle EnumValueOwnedHandle

Properties

Handle

public EnumValueOwnedHandle Handle { get; }

Property Value

EnumValueOwnedHandle

Value

public int Value { get; set; }

Property Value

int

ValueName

public string? ValueName { get; set; }

Property Value

string

ValueNick

public string? ValueNick { get; set; }

Property Value

string

Methods

Equals(EnumValue?)

public bool Equals(EnumValue? other)

Parameters

other EnumValue

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.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.