Table of Contents

Method ReadInt32

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

ReadInt32(IBsonReader, string)

Reads a BSON Int32 element from the reader.

public static int ReadInt32(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

int

An Int32.