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