Share via


TestId.CompareTo Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method CompareTo(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.
Public method CompareTo(TestId) Compares the current instance with the provided test ID 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.

Top

See Also

Reference

TestId Class

Microsoft.VisualStudio.TestTools.Common Namespace