Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonTimestamp)

Compares this BsonTimestamp to another BsonTimestamp.

public bool Equals(BsonTimestamp rhs)

Parameters

rhs BsonTimestamp

The other BsonTimestamp.

Returns

bool

True if the two BsonTimestamp values are equal.

Equals(object)

Compares this BsonTimestamp to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

True if the other object is a BsonTimestamp and equal to this one.