Click or drag to resize

Node.CompareTo Method

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

Namespace:  DHI.Mike1D.NetworkDataAccess
Assembly:  DHI.Mike1D.NetworkDataAccess (in DHI.Mike1D.NetworkDataAccess.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public int CompareTo(
	INode other
)

Parameters

other
Type: DHI.Mike1D.NetworkDataAccess.INode
An object to compare with this object.

Return Value

Type: Int32
A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other.

Implements

IComparable<T>.CompareTo(T)
See Also