VeriStand .NET API Reference

ScalarDataValue.CompareTo Method (ScalarDataValue)

Compares this instance to a specified object and returns an integer that indicates their relationship to each other. This is an abstract declaration only. Derived classes must implement the correct CompareTo method for that class.

Namespace: NationalInstruments.VeriStand.Data
Assembly: NationalInstruments.VeriStand.DataTypes (in NationalInstruments.VeriStand.DataTypes.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public MustOverride Function CompareTo ( _
	other As ScalarDataValue _
) As Integer
C#
public abstract int CompareTo(
	ScalarDataValue other
)
Visual C++
public:
virtual int CompareTo(
	ScalarDataValue^ other
) abstract

Parameters

other
Type: NationalInstruments.VeriStand.Data.ScalarDataValue
The object to compare to this instance.

Return Value

An integer that represents the relationship of this instance and other.
ConditionReturn Value
Less than zero This instance is less than other.
Zero This instance and other are equal.
Greater than zero This instance is greater than other.

Implements

IComparable(T).CompareTo(T)

See Also

Log in to get a better experience