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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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