Table of Contents

Class OptionEntryHandle

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

Constructors

OptionEntryHandle(bool)

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

public bool Equals(OptionEntryHandle? other)

Parameters

other OptionEntryHandle

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.

GetArg()

public OptionArg GetArg()

Returns

OptionArg

GetArgData()

public nint GetArgData()

Returns

nint

GetArgDescription()

public nint GetArgDescription()

Returns

nint

GetDescription()

public nint GetDescription()

Returns

nint

GetFlags()

public int GetFlags()

Returns

int

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetLongName()

public nint GetLongName()

Returns

nint

GetShortName()

public sbyte GetShortName()

Returns

sbyte

SetArg(OptionArg)

public void SetArg(OptionArg value)

Parameters

value OptionArg

SetArgData(nint)

public void SetArgData(nint value)

Parameters

value nint

SetArgDescription(nint)

public void SetArgDescription(nint value)

Parameters

value nint

SetDescription(nint)

public void SetDescription(nint value)

Parameters

value nint

SetFlags(int)

public void SetFlags(int value)

Parameters

value int

SetLongName(nint)

public void SetLongName(nint value)

Parameters

value nint

SetShortName(sbyte)

public void SetShortName(sbyte value)

Parameters

value sbyte