BsonRegularExpression Operators and Type ConversionsMongoDB C# Driver API Documentation

The BsonRegularExpression type exposes the following members.

Operators

  NameDescription
Public operatorStatic memberEquality
Compares two BsonRegularExpression values.
Public operatorStatic member(String to BsonRegularExpression)
Converts a string to a BsonRegularExpression.
Public operatorStatic member(Regex to BsonRegularExpression)
Converts a Regex to a BsonRegularExpression.
Public operatorStatic memberInequality
Compares two BsonRegularExpression values.
Top
See Also

Reference