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