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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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