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