Compares this instance with the provided RequestId.
Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Function CompareTo ( _
    other As RequestId _
) As Integer
public int CompareTo(
    RequestId other
)
public:
virtual int CompareTo(
    RequestId^ other
) sealed
abstract CompareTo : 
        other:RequestId -> int  
override CompareTo : 
        other:RequestId -> int
public final function CompareTo(
    other : RequestId
) : int
Parameters
- other 
 Type: Microsoft.VisualStudio.TestTools.Execution.RequestId- The RequestId for comparison. 
Return Value
Type: Int32
A 32-bit signed integer that indicates the relative order of the RequestIds that are being compared. The return value has these meanings:
- Less than zero 
 This instance is less than other.
- Zero 
 This instance is equal to other.
- Larger than zero 
 This instance is greater than other.
Implements
IComparable.CompareTo(UTP)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.