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