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