Method Equals
| MongoDB CSharp Driver API Reference (original) (raw)
Table of Contents
Namespace
Assembly
MongoDB.Bson.dll
Equals(BsonDocument)
Compares this document to another document.
public bool Equals(BsonDocument obj)
Parameters
obj
BsonDocument
The other document.
Returns
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
True if the other object is a BsonDocument and equal to this one.