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

实现

适用于