Compare()
Enum::Compare(E, T) method
Performs the arithmetic comparison of the values of the specified enumeration constants.
template<typename T,typename _> static int System::Enum<E, Guard>::Compare(E a, T b)
Arguments
Parameter | Type | Description |
---|---|---|
a | E | The first comparand |
b | T | The second comparand |
Return Value
-1 if a is less than b; 0 if the values are equal; 1 if a is greater than b
See Also
- Struct Enum
- Namespace System
- Library Aspose.Slides