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.

GenericParameterHelper.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.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public int CompareTo(
	object obj
)

Parameters

obj
Type: System.Object

A GenericParameterHelper to compare with the current instance.

Return Value

Type: System.Int32

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:

Less than zero

This instance is less than obj.

Zero

This instance is equal to obj.

Greater than zero

This instance is greater than obj.

Exception Condition
NotSupportedException

obj is not of type GenericParameterHelper.

Return to top
Show: