Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonString)

Compares this BsonString to another BsonString.

public bool Equals(BsonString rhs)

Parameters

rhs BsonString

The other BsonString.

Returns

bool

True if the two BsonString values are equal.

Equals(object)

Compares this BsonString to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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