Table of Contents

Method WriteTimestamp

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

WriteTimestamp(IBsonWriter, string, long)

Writes a BSON timestamp element to the writer.

public static void WriteTimestamp(this IBsonWriter writer, string name, long value)

Parameters

writer IBsonWriter

The writer.

name string

The name of the element.

value long

The combined timestamp/increment value.