Click or drag to resize

ReadPreferenceEquals Method (ReadPreference)

Indicates whether the current object is equal to another object of the same type.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public bool Equals(
	ReadPreference other
)

Parameters

other
Type: MongoDB.DriverReadPreference
An object to compare with this object.

Return Value

Type: Boolean
if the current object is equal to the other parameter; otherwise, .

Implements

IEquatableTEquals(T)
See Also