UBinarySizeCompareTo(UBinarySize) Method

Compares this instance to a specified UBinarySize instance and returns an indication of their relative values.

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
C#
public int CompareTo(
	UBinarySize other
)

Parameters

other  UBinarySize
A UBinarySize to compare.

Return Value

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.

Implements

IComparableTCompareTo(T)

See Also