UnicastIPAddressInformationCollection.Contains(UnicastIPAddressInformation) Method

Definition

Checks whether the collection contains the specified UnicastIPAddressInformation object.

public:
 virtual bool Contains(System::Net::NetworkInformation::UnicastIPAddressInformation ^ address);
public virtual bool Contains (System.Net.NetworkInformation.UnicastIPAddressInformation address);
abstract member Contains : System.Net.NetworkInformation.UnicastIPAddressInformation -> bool
override this.Contains : System.Net.NetworkInformation.UnicastIPAddressInformation -> bool
Public Overridable Function Contains (address As UnicastIPAddressInformation) As Boolean

Parameters

address
UnicastIPAddressInformation

The UnicastIPAddressInformation object to be searched in the collection.

Returns

Boolean

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

Implements

Applies to