Table of Contents

Method ReadRegularExpression

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

ReadRegularExpression(IBsonReader, string)

Reads a BSON regular expression element from the reader.

public static BsonRegularExpression ReadRegularExpression(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

BsonRegularExpression

A BsonRegularExpression.