Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonDocument)

Compares this document to another document.

public bool Equals(BsonDocument obj)

Parameters

obj BsonDocument

The other document.

Returns

bool

True if the two documents are equal.

Equals(object)

Compares this BsonDocument to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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