Sdílet prostřednictvím


GatewayIPAddressInformationCollection.Contains Metoda

Definice

Zkontroluje, zda kolekce obsahuje zadaný GatewayIPAddressInformation objekt.

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

Parametry

address
GatewayIPAddressInformation

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

Návraty

trueGatewayIPAddressInformation pokud objekt existuje v kolekci, jinak false.

Implementuje

Platí pro