LocationSpanCompareTo Method

Compares the current instance with another object of the same type.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public int CompareTo(
	ILocationSpan other
)

Parameters

other  ILocationSpan
An object to compare with this instance.

Return Value

Int32
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than other. Zero This instance is equal to other. Greater than zero This instance is greater than other.

Exceptions

ArgumentExceptionother is not the same type as this instance.

See Also