Table of Contents

Operator operator ==

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

operator ==(BsonDocument, BsonDocument)

Compares two BsonDocument values.

public static bool operator ==(BsonDocument lhs, BsonDocument rhs)

Parameters

lhs BsonDocument

The first BsonDocument.

rhs BsonDocument

The other BsonDocument.

Returns

bool

True if the two BsonDocument values are equal according to ==.