Table of Contents

Operator operator ==

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

operator ==(BsonRegularExpression, BsonRegularExpression)

Compares two BsonRegularExpression values.

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

Parameters

lhs BsonRegularExpression

The first BsonRegularExpression.

rhs BsonRegularExpression

The other BsonRegularExpression.

Returns

bool

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