Click or drag to resize

MongoDBRefEquals Method (MongoDBRef)

Determines whether this instance and another specified MongoDBRef object have the same value.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public bool Equals(
	MongoDBRef rhs
)

Parameters

rhs
Type: MongoDB.DriverMongoDBRef
The MongoDBRef object to compare to this instance.

Return Value

Type: Boolean
True if the value of the rhs parameter is the same as this instance; otherwise, false.

Implements

IEquatableTEquals(T)
See Also