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