共用方式為


GatewayIPAddressInformationCollection.Contains 方法

定義

檢查集合是否包含指定的 GatewayIPAddressInformation 物件。

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

參數

address
GatewayIPAddressInformation

要在集合中搜尋的 GatewayIPAddressInformation 物件。

傳回

如果集合中有存在 GatewayIPAddressInformation 物件,則為 true,否則為 false

實作

適用於