Method WriteInt32
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
IBsonWriterThe writer.
name
stringThe name of the element.
value
intThe Int32 value.