MulticastIPAddressInformationCollection.Add(MulticastIPAddressInformation) MulticastIPAddressInformationCollection.Add(MulticastIPAddressInformation) MulticastIPAddressInformationCollection.Add(MulticastIPAddressInformation) MulticastIPAddressInformationCollection.Add(MulticastIPAddressInformation) Method

定义

引发 NotSupportedException,原因是该集合为只读,不能向其中添加元素。Throws a NotSupportedException because the collection is read-only and elements cannot be added to the collection.

public:
 virtual void Add(System::Net::NetworkInformation::MulticastIPAddressInformation ^ address);
public virtual void Add (System.Net.NetworkInformation.MulticastIPAddressInformation address);
abstract member Add : System.Net.NetworkInformation.MulticastIPAddressInformation -> unit
override this.Add : System.Net.NetworkInformation.MulticastIPAddressInformation -> unit
Public Overridable Sub Add (address As MulticastIPAddressInformation)

参数

address
MulticastIPAddressInformation MulticastIPAddressInformation MulticastIPAddressInformation MulticastIPAddressInformation

要添加到集合中的对象。The object to be added to the collection.

实现

适用于