Operator operator ==
operator ==(BsonRegularExpression, BsonRegularExpression)
Compares two BsonRegularExpression values.
public static bool operator ==(BsonRegularExpression lhs, BsonRegularExpression rhs)
Parameters
lhs
BsonRegularExpressionThe first BsonRegularExpression.
rhs
BsonRegularExpressionThe other BsonRegularExpression.
Returns
- bool
True if the two BsonRegularExpression values are equal according to ==.