Method Equals
Equals(MongoDBRef, MongoDBRef)
Determines whether two specified MongoDBRef objects have the same value.
Parameters
lhs
MongoDBRef The first value to compare, or null.
rhs
MongoDBRef The second value to compare, or null.
Returns
- bool
True if the value of lhs is the same as the value of rhs; otherwise, false.
Equals(MongoDBRef)
Determines whether this instance and another specified MongoDBRef object have the same value.
Parameters
rhs
MongoDBRef The MongoDBRef object to compare to this instance.
Returns
- bool
True if the value of the rhs parameter is the same as this instance; otherwise, false.
Equals(object)
Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value.
Parameters
obj
objectThe MongoDBRef object to compare to this instance.
Returns
- bool
True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false.