SyncId::CompareTo Method
Compares this object with another SyncId object.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Parameters
- obj
- Type: System::Object
A SyncId object to compare with this object.
Return Value
Type: System::Int32A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
Value | Meaning |
|---|---|
Less than 0 | This object is less than obj. |
0 | This object is equal to obj. |
Greater than 0 | This object is greater than obj. |
Implements
IComparable::CompareTo(Object)| Exception | Condition |
|---|---|
| ArgumentException | id could not be cast to SyncId, or either one of id or this SyncId object is variable length and the other is not. |
Show: