Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonJavaScript)

Compares this BsonJavaScript to another BsonJavaScript.

public bool Equals(BsonJavaScript rhs)

Parameters

rhs BsonJavaScript

The other BsonJavaScript.

Returns

bool

True if the two BsonJavaScript values are equal.

Equals(object)

Compares this BsonJavaScript to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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