Table of Contents

Method ReadBoolean

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

ReadBoolean(IBsonReader, string)

Reads a BSON boolean element from the reader.

public static bool ReadBoolean(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

bool

A Boolean.