Table of Contents

Method WriteRegularExpression

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

WriteRegularExpression(IBsonWriter, string, BsonRegularExpression)

Writes a BSON regular expression element to the writer.

public static void WriteRegularExpression(this IBsonWriter writer, string name, BsonRegularExpression regex)

Parameters

writer IBsonWriter

The writer.

name string

The name of the element.

regex BsonRegularExpression

A BsonRegularExpression.