Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonRegularExpression)

Compares this BsonRegularExpression to another BsonRegularExpression.

public bool Equals(BsonRegularExpression rhs)

Parameters

rhs BsonRegularExpression

The other BsonRegularExpression.

Returns

bool

True if the two BsonRegularExpression values are equal.

Equals(object)

Compares this BsonRegularExpression to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

True if the other object is a BsonRegularExpression and equal to this one.