EndPointHelperContains Method  | 
 
            Determines whether a list of end points contains a specific end point.
            
 
    Namespace: 
   MongoDB.Driver.Core.Misc
    Assembly:
   MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic static bool Contains(
	IEnumerable<EndPoint> endPoints,
	EndPoint endPoint
)
Public Shared Function Contains ( 
	endPoints As IEnumerable(Of EndPoint),
	endPoint As EndPoint
) As Boolean
static member Contains : 
        endPoints : IEnumerable<EndPoint> * 
        endPoint : EndPoint -> bool 
Parameters
- endPoints
 - Type: System.Collections.GenericIEnumerableEndPoint
The list of end points. - endPoint
 - Type: System.NetEndPoint
The specific end point to search for. 
Return Value
Type: 
BooleanTrue if the list of end points contains the specific end point.
See Also