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
)
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