EndPointHelperEquals Method |
Compares two end points.
Namespace:
MongoDB.Driver.Core.Misc
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public static bool Equals(
EndPoint a,
EndPoint b
)
Public Shared Function Equals (
a As EndPoint,
b As EndPoint
) As Boolean
static member Equals :
a : EndPoint *
b : EndPoint -> bool
Parameters
- a
- Type: System.NetEndPoint
The first end point. - b
- Type: System.NetEndPoint
The second end point.
Return Value
Type:
BooleanTrue if both end points are equal, or if both are null.
See Also