Method ReadRegularExpression
ReadRegularExpression(IBsonReader, string)
Reads a BSON regular expression element from the reader.
public static BsonRegularExpression ReadRegularExpression(this IBsonReader reader, string name)
Parameters
reader
IBsonReaderThe reader.
name
stringThe name of the element.
Returns
- BsonRegularExpression
A BsonRegularExpression.