Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonValue)

Compares this BsonValue to another BsonValue.

public bool Equals(BsonValue rhs)

Parameters

rhs BsonValue

The other BsonValue.

Returns

bool

True if the two BsonValue values are equal.

Equals(object)

Compares this BsonValue to another object.

public override abstract bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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