Sdílet prostřednictvím


UnicastIPAddressInformationCollection.Contains Metoda

Definice

Zkontroluje, zda kolekce obsahuje zadaný UnicastIPAddressInformation objekt.

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

Parametry

address
UnicastIPAddressInformation

Objekt UnicastIPAddressInformation , který má být prohledána v kolekci.

Návraty

true UnicastIPAddressInformation pokud objekt existuje v kolekci, jinak hodnota false.

Implementuje

Platí pro