IPAddressInformationCollection::Contains Method (IPAddressInformation^)

 

Checks whether the collection contains the specified IPAddressInformation object.

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

public:
virtual bool Contains(
	IPAddressInformation^ address
)

Parameters

address
Type: System.Net.NetworkInformation::IPAddressInformation^

The IPAddressInformation object to be searched in the collection.

Return Value

Type: System::Boolean

true if the IPAddressInformation object exists in the collection; otherwise. false.

.NET Framework
Available since 2.0
Return to top
Show: