VeriStand .NET API Reference

BooleanValue.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 false (False in Visual Basic) and other is true (True in Visual Basic).)
Zero This instance and other are equal (either both are true (True in Visual Basic) or false (False in Visual Basic).)
Greater than zero This instance is true (True in Visual Basic) and other is false (False in Visual Basic), or other is a null reference (Nothing in Visual Basic).

Implements

IComparable(T).CompareTo(T)

See Also

Log in to get a better experience