|
AngleCompareTo(Object) Method
|
Compares this instance to a specified object and returns an indication of their relative values.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic int CompareTo(
Object value
)
Public Function CompareTo (
value As Object
) As Integer
public:
virtual int CompareTo(
Object^ value
) sealed
abstract CompareTo :
value : Object -> int
override CompareTo :
value : Object -> int
function CompareTo(value);
View SourceParameters
- value Object
- An object to compare, or null.
Return Value
Int32
A signed number indicating the relative values of this instance and value. Returns less than zero
if this instance is less than value, zero if this instance is equal to value, or greater than zero
if this instance is greater than value.
Implements
IComparableCompareTo(Object)
ExceptionsException | Condition |
---|
ArgumentException | value is not a Double or Angle. |
See Also