Method WriteRegularExpression
WriteRegularExpression(BsonRegularExpression)
Writes a BSON regular expression to the writer.
public virtual void WriteRegularExpression(BsonRegularExpression regex)
Parameters
regex
BsonRegularExpressionA BsonRegularExpression.