Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonElement)

Compares this BsonElement to another BsonElement.

public bool Equals(BsonElement rhs)

Parameters

rhs BsonElement

The other BsonElement.

Returns

bool

True if the two BsonElement values are equal.

Equals(object)

Compares this BsonElement to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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