Table of Contents

Method WriteInt32

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

WriteInt32(IBsonWriter, string, int)

Writes a BSON Int32 element to the writer.

public static void WriteInt32(this IBsonWriter writer, string name, int value)

Parameters

writer IBsonWriter

The writer.

name string

The name of the element.

value int

The Int32 value.