Operator operator ==
operator ==(MongoDBRef, MongoDBRef)
Determines whether two specified MongoDBRef objects have the same value.
public static bool operator ==(MongoDBRef lhs, MongoDBRef rhs)
Parameters
lhsMongoDBRefThe first value to compare, or null.
rhsMongoDBRefThe second value to compare, or null.
Returns
- bool
True if the value of lhs is the same as the value of rhs; otherwise, false.