UnicastIPAddressInformationCollection.Remove 方法

定义

引发 NotSupportedException,因为该集合为只读,不能移除其中的元素。

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

参数

address
UnicastIPAddressInformation

要移除的对象。

返回

总是引发 NotSupportedException

实现

适用于