Constructor StringOrRegularExpression
StringOrRegularExpression(string)
Initializes an instance of a StringOrRegularExpression.
public StringOrRegularExpression(string value)
Parameters
value
stringA string value.
StringOrRegularExpression(BsonRegularExpression)
Initializes an instance of a StringOrRegularExpression.
public StringOrRegularExpression(BsonRegularExpression value)
Parameters
value
BsonRegularExpressionA BsonRegularExpression value.