BinarySize.CompareTo(BinarySize) Method
Compares this instance to a specified
BinarySize instance and returns an
indication of their relative values.
Namespace: OokiiAssembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
public int CompareTo(
BinarySize other
)
Public Function CompareTo (
other As BinarySize
) As Integer
public:
virtual int CompareTo(
BinarySize other
) sealed
abstract CompareTo :
other : BinarySize -> int
override CompareTo :
other : BinarySize -> int
- other BinarySize
- A BinarySize to compare.
Int32
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value | Meaning |
---|
Less than zero | This instance precedes other in the sort order. |
Zero | This instance occurs in the same position in the sort order as other. |
Greater than zero | This instance follows other in the sort order. |
IComparable<T>.CompareTo(T)