Table of Contents

Method WriteNull

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

WriteNull(IBsonWriter, string)

Writes a BSON null element to the writer.

public static void WriteNull(this IBsonWriter writer, string name)

Parameters

writer IBsonWriter

The writer.

name string

The name of the element.