Click or drag to resize

BsonDocumentWriterWriteRegularExpression Method

Writes a BSON regular expression to the writer.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public override void WriteRegularExpression(
	BsonRegularExpression regex
)

Parameters

regex
Type: MongoDB.BsonBsonRegularExpression
A BsonRegularExpression.

Implements

IBsonWriterWriteRegularExpression(BsonRegularExpression)
See Also