ElectionIdEquals Method (ElectionId) |
Indicates whether the current object is equal to another object of the same type.
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public bool Equals(
ElectionId other
)
Public Function Equals (
other As ElectionId
) As Boolean
abstract Equals :
other : ElectionId -> bool
override Equals :
other : ElectionId -> bool
Parameters
- other
- Type: MongoDB.Driver.Core.ClustersElectionId
An object to compare with this object.
Return Value
Type:
Boolean
true if the current object is equal to the
other parameter; otherwise, false.
Implements
IEquatableTEquals(T)See Also