共用方式為


UnicastIPAddressInformationCollection.Contains 方法

定義

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

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

參數

address
UnicastIPAddressInformation

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

傳回

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

實作

適用於