共用方式為


MulticastIPAddressInformationCollection.Contains 方法

定義

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

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

參數

address
MulticastIPAddressInformation

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

傳回

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

實作

適用於