Operator operator ==
operator ==(BsonDocument, BsonDocument)
Compares two BsonDocument values.
public static bool operator ==(BsonDocument lhs, BsonDocument rhs)
Parameters
lhs
BsonDocumentThe first BsonDocument.
rhs
BsonDocumentThe other BsonDocument.
Returns
- bool
True if the two BsonDocument values are equal according to ==.