MongoUserEquals Method (Object) |
Determines whether this instance and a specified object, which must also be a MongoUser object, have the same value.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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 MongoUser object to compare to this instance.
Return Value
Type:
BooleanTrue if obj is a MongoUser object and its value is the same as this instance; otherwise, false.
See Also