Method Equals
Equals(BsonElement)
Compares this BsonElement to another BsonElement.
Parameters
rhs
BsonElement The other BsonElement.
Returns
- bool
True if the two BsonElement values are equal.
Equals(object)
Compares this BsonElement to another object.
Parameters
obj
objectThe other object.
Returns
- bool
True if the other object is a BsonElement and equal to this one.