Method CompareTo
CompareTo(ObjectId)
Compares this ObjectId to another ObjectId.
public int CompareTo(ObjectId other)
Parameters
other
ObjectIdThe other ObjectId.
Returns
- int
A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other.