Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonInt32)

Compares this BsonInt32 to another BsonInt32.

public bool Equals(BsonInt32 rhs)

Parameters

rhs BsonInt32

The other BsonInt32.

Returns

bool

True if the two BsonInt32 values are equal.

Equals(object)

Compares this BsonInt32 to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

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