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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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:
Boolean if the current object is equal to the
other parameter; otherwise,
.
Implements
IEquatableTEquals(T)See Also