Method Equals
Equals(ObjectId)
Compares this ObjectId to another ObjectId.
Parameters
rhs
ObjectId The other ObjectId.
Returns
- bool
True if the two ObjectIds are equal.
Equals(object)
Compares this ObjectId to another object.
Parameters
obj
objectThe other object.
Returns
- bool
True if the other object is an ObjectId and equal to this one.