UnicastIPAddressInformationCollection::Contains Method (UnicastIPAddressInformation^)

 

Checks whether the collection contains the specified UnicastIPAddressInformation object.

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

public:
virtual bool Contains(
	UnicastIPAddressInformation^ address
)

Parameters

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

The UnicastIPAddressInformation object to be searched in the collection.

Return Value

Type: System::Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: