Table of Contents

Method ReadTimestamp

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

ReadTimestamp(IBsonReader, string)

Reads a BSON timestamp element from the reader.

public static long ReadTimestamp(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

long

The combined timestamp/increment.