MongoDBRefEquals Method (Object) |
Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public override bool Equals(
Object obj
)
Public Overrides Function Equals (
obj As Object
) As Boolean
abstract Equals :
obj : Object -> bool
override Equals :
obj : Object -> bool
Parameters
- obj
- Type: SystemObject
The MongoDBRef object to compare to this instance.
Return Value
Type:
BooleanTrue if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false.
See Also