VeriStand .NET API Reference

U32Value.CompareTo Method (ScalarDataValue)

Compares this instance to a specified object and returns an integer that indicates their relationship to each other.

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 Overrides Function CompareTo ( _
	other As ScalarDataValue _
) As Integer
C#
public override int CompareTo(
	ScalarDataValue other
)
Visual C++
public:
virtual int CompareTo(
	ScalarDataValue^ other
) override

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