Class OptionEntryHandle
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
Methods
Equals(OptionEntryHandle?)
public bool Equals(OptionEntryHandle? other)
Parameters
other
OptionEntryHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetArg()
public OptionArg GetArg()
Returns
GetArgData()
public IntPtr GetArgData()
Returns
GetArgDescription()
public IntPtr GetArgDescription()
Returns
GetDescription()
public IntPtr GetDescription()
Returns
GetFlags()
public int GetFlags()
Returns
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
GetShortName()
public sbyte GetShortName()
Returns
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