Click or drag to resize

LocationSpanCompareTo Method

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

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public int CompareTo(
	ILocationSpan other
)

Parameters

other
Type: DHI.Mike1D.GenericILocationSpan
An object to compare with this instance.

Return Value

Type: 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
ExceptionCondition
ArgumentExceptionother is not the same type as this instance.
See Also