IPAddressInformationCollection.Contains(IPAddressInformation) Method

Definition

Checks whether the collection contains the specified IPAddressInformation object.

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

Parameters

address
IPAddressInformation

The IPAddressInformation object to be searched in the collection.

Returns

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

Implements

Applies to