Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonDateTime)

Compares this BsonDateTime to another BsonDateTime.

public bool Equals(BsonDateTime rhs)

Parameters

rhs BsonDateTime

The other BsonDateTime.

Returns

bool

True if the two BsonDateTime values are equal.

Equals(object)

Compares this BsonDateTime to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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