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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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