Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestId::CompareTo Method (Object^)

 

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

public:
virtual int CompareTo(
	Object^ other
) sealed

Parameters

other
Type: System::Object^

An object that can be cast to a TestId object.

Return Value

Type: System::Int32

An integer that indicates whether this instance comes before, follows, or appears in the same position in the sort order as the specified object.

Exception Condition
ArgumentException

The other object is not a TestId object.

Return to top
Show: