Table of Contents

Operator operator ==

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

operator ==(BsonString, BsonString)

Compares two BsonString values.

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

Parameters

lhs BsonString

The first BsonString.

rhs BsonString

The other BsonString.

Returns

bool

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