MulticastIPAddressInformationCollection.Contains(MulticastIPAddressInformation) MulticastIPAddressInformationCollection.Contains(MulticastIPAddressInformation) MulticastIPAddressInformationCollection.Contains(MulticastIPAddressInformation) MulticastIPAddressInformationCollection.Contains(MulticastIPAddressInformation) Method

定义

检查集合中是否包含指定的 MulticastIPAddressInformation 对象。Checks whether the collection contains the specified MulticastIPAddressInformation object.

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

参数

返回

如果集合中存在 MulticastIPAddressInformation 对象,则为 true;否则为 falsetrue if the MulticastIPAddressInformation object exists in the collection; otherwise, false.

实现

适用于