Table of Contents

Class BsonTimestamp

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents a BSON timestamp value.

public class BsonTimestamp : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonTimestamp>, IEquatable<BsonTimestamp>
Inheritance
BsonTimestamp
Implements
Inherited Members
Extension Methods

Constructors

BsonTimestamp(int, int)

Initializes a new instance of the BsonTimestamp class.

BsonTimestamp(long)

Initializes a new instance of the BsonTimestamp class.

Properties

BsonType

Gets the BsonType of this BsonValue.

Increment

Gets the increment.

Timestamp

Gets the timestamp.

Value

Gets the value of this BsonTimestamp.

Methods

CompareTo(BsonTimestamp)

Compares this BsonTimestamp to another BsonTimestamp.

CompareTo(BsonValue)

Compares the BsonTimestamp to another BsonValue.

Create(object)

Creates a new BsonTimestamp.

Equals(BsonTimestamp)

Compares this BsonTimestamp to another BsonTimestamp.

Equals(object)

Compares this BsonTimestamp to another object.

GetHashCode()

Gets the hash code.

ToString()

Returns a string representation of the value.

Operators

operator ==(BsonTimestamp, BsonTimestamp)

Compares two BsonTimestamp values.

operator !=(BsonTimestamp, BsonTimestamp)

Compares two BsonTimestamp values.