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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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