RequestId.CompareTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CompareTo(RequestId) |
Compares this instance with the provided RequestId. |
CompareTo(Object) |
Compares this instance with the provided object. |
CompareTo(RequestId)
Compares this instance with the provided RequestId.
public:
virtual int CompareTo(Microsoft::VisualStudio::TestTools::Execution::RequestId ^ other);
public int CompareTo (Microsoft.VisualStudio.TestTools.Execution.RequestId other);
abstract member CompareTo : Microsoft.VisualStudio.TestTools.Execution.RequestId -> int
override this.CompareTo : Microsoft.VisualStudio.TestTools.Execution.RequestId -> int
Public Function CompareTo (other As RequestId) As Integer
Parameters
Returns
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 zeroThis instance is less than other
.ZeroThis instance is equal to other
.Larger than zeroThis instance is greater than other
.
Implements
Applies to
CompareTo(Object)
Compares this instance with the provided object.
public:
virtual int CompareTo(System::Object ^ obj);
public int CompareTo (object obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (obj As Object) As Integer
Parameters
- obj
- Object
The object for comparison.
Returns
A 32-bit signed integer that indicates the relative order of the objects that are being compared. The return value has these meanings:Less than zeroThis instance is less than obj
.ZeroThis instance is equal to obj
.Larger than zeroThis instance is greater than obj
.
Implements
Exceptions
Object is not of type RequestId.