Click or drag to resize

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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public override bool Equals(
	Object obj
)

Parameters

obj
Type: SystemObject
The MongoUser object to compare to this instance.

Return Value

Type: Boolean
True if obj is a MongoUser object and its value is the same as this instance; otherwise, false.
See Also