Table of Contents

Operator operator ==

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

operator ==(BsonValue, BsonValue)

Compares two BsonValues.

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

Parameters

lhs BsonValue

The first BsonValue.

rhs BsonValue

The other BsonValue.

Returns

bool

True if the two BsonValues are equal according to ==.