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