Method Equals
Equals(BsonObjectId)
Compares this BsonObjectId to another BsonObjectId.
Parameters
rhs
BsonObject Id The other BsonObjectId.
Returns
- bool
True if the two BsonObjectId values are equal.
Equals(object)
Compares this BsonObjectId to another object.
Parameters
obj
objectThe other object.
Returns
- bool
True if the other object is a BsonObjectId and equal to this one.