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