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
writerIBsonWriterThe writer.
namestringThe name of the element.
valueintThe Int32 value.