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