Class EnumClassHandle
public abstract class EnumClassHandle : SafeHandle, IDisposable
- Inheritance
-
EnumClassHandle
- Implements
- Derived
- Inherited Members
Constructors
EnumClassHandle(bool)
protected EnumClassHandle(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(EnumClassHandle?)
public bool Equals(EnumClassHandle? other)
Parameters
other
EnumClassHandle
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
GetGTypeClass()
public TypeClassData GetGTypeClass()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMaximum()
public int GetMaximum()
Returns
GetMinimum()
public int GetMinimum()
Returns
GetNValues()
public uint GetNValues()
Returns
GetValues()
public IntPtr GetValues()
Returns
SetGTypeClass(TypeClassData)
public void SetGTypeClass(TypeClassData value)
Parameters
value
TypeClassData
SetMaximum(int)
public void SetMaximum(int value)
Parameters
value
int
SetMinimum(int)
public void SetMinimum(int value)
Parameters
value
int
SetNValues(uint)
public void SetNValues(uint value)
Parameters
value
uint
SetValues(IntPtr)
public void SetValues(IntPtr value)
Parameters
value
IntPtr