VeriStand .NET API Reference

ScalarDataValue.CompareTo Method (Object)

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 Function CompareTo ( _
	obj As Object _
) As Integer
C#
public int CompareTo(
	Object obj
)
Visual C++
public:
virtual int CompareTo(
	Object^ obj
) sealed

Parameters

obj
Type: System.Object
The object to compare to this instance.

Return Value

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

Implements

IComparable.CompareTo(Object)

See Also

Log in to get a better experience