ReadPreferenceEquals Method (ReadPreference) |
Indicates whether the current object is equal to another object of the same type.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.1.0
Syntax public bool Equals(
ReadPreference other
)
Public Function Equals (
other As ReadPreference
) As Boolean
abstract Equals :
other : ReadPreference -> bool
override Equals :
other : ReadPreference -> bool
Parameters
- other
- Type: MongoDB.DriverReadPreference
An object to compare with this object.
Return Value
Type:
Booleantrue if the current object is equal to the
other parameter; otherwise, false.
Implements
IEquatableTEquals(T)See Also