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