IPAddressCollection::Contains Method (IPAddress^)

 

Checks whether the collection contains the specified IPAddress object.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public:
virtual bool Contains(
	IPAddress^ address
)

Parameters

address
Type: System.Net::IPAddress^

The IPAddress object to be searched in the collection.

Return Value

Type: System::Boolean

true if the IPAddress object exists in the collection; otherwise, false.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: