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