Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft