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 IntPtr GetArgData()

Returns

IntPtr

GetArgDescription()

public IntPtr GetArgDescription()

Returns

IntPtr

GetDescription()

public IntPtr GetDescription()

Returns

IntPtr

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 IntPtr GetLongName()

Returns

IntPtr

GetShortName()

public sbyte GetShortName()

Returns

sbyte

SetArg(OptionArg)

public void SetArg(OptionArg value)

Parameters

value OptionArg

SetArgData(IntPtr)

public void SetArgData(IntPtr value)

Parameters

value IntPtr

SetArgDescription(IntPtr)

public void SetArgDescription(IntPtr value)

Parameters

value IntPtr

SetDescription(IntPtr)

public void SetDescription(IntPtr value)

Parameters

value IntPtr

SetFlags(int)

public void SetFlags(int value)

Parameters

value int

SetLongName(IntPtr)

public void SetLongName(IntPtr value)

Parameters

value IntPtr

SetShortName(sbyte)

public void SetShortName(sbyte value)

Parameters

value sbyte