Method CompareTypeTo
CompareTypeTo(BsonValue)
Compares the type of this BsonValue to the type of another BsonValue.
public int CompareTypeTo(BsonValue other)
Parameters
other
BsonValueThe other BsonValue.
Returns
- int
A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue.