Table of Contents

Method WriteBoolean

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

WriteBoolean(IBsonWriter, string, bool)

Writes a BSON Boolean element to the writer.

public static void WriteBoolean(this IBsonWriter writer, string name, bool value)

Parameters

writer IBsonWriter

The writer.

name string

The name of the element.

value bool

The Boolean value.