Method Equals
Equals(BsonDocument)
Compares this document to another document.
public bool Equals(BsonDocument obj)
Parameters
obj
BsonDocumentThe 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
objectThe other object.
Returns
- bool
True if the other object is a BsonDocument and equal to this one.