RequestId.CompareTo Method (RequestId)

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

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

See Also

Reference

RequestId Class

CompareTo Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

CompareTo