Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonBoolean)

Compares this BsonBoolean to another BsonBoolean.

public bool Equals(BsonBoolean rhs)

Parameters

rhs BsonBoolean

The other BsonBoolean.

Returns

bool

True if the two BsonBoolean values are equal.

Equals(object)

Compares this BsonBoolean to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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