Method Equals
Equals(ObjectId)
Compares this ObjectId to another ObjectId.
public bool Equals(ObjectId rhs)Parameters
- rhsObjectId
- The 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
- objobject
- The other object. 
Returns
- bool
- True if the other object is an ObjectId and equal to this one.