MulticastIPAddressInformationCollection.Remove 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
引发一个 NotSupportedException ,因为集合是只读的,并且无法删除元素。
public:
virtual bool Remove(System::Net::NetworkInformation::MulticastIPAddressInformation ^ address);
public virtual bool Remove(System.Net.NetworkInformation.MulticastIPAddressInformation address);
abstract member Remove : System.Net.NetworkInformation.MulticastIPAddressInformation -> bool
override this.Remove : System.Net.NetworkInformation.MulticastIPAddressInformation -> bool
Public Overridable Function Remove (address As MulticastIPAddressInformation) As Boolean
参数
- address
- MulticastIPAddressInformation
要删除的对象。
返回
始终抛出一个 NotSupportedException。