UnicastIPAddressInformationCollection.Add(UnicastIPAddressInformation) 方法
定义
由于该集合不支持此操作,因此引发 NotSupportedException。Throws a NotSupportedException because this operation is not supported for this collection.
public:
virtual void Add(System::Net::NetworkInformation::UnicastIPAddressInformation ^ address);
public virtual void Add (System.Net.NetworkInformation.UnicastIPAddressInformation address);
abstract member Add : System.Net.NetworkInformation.UnicastIPAddressInformation -> unit
override this.Add : System.Net.NetworkInformation.UnicastIPAddressInformation -> unit
Public Overridable Sub Add (address As UnicastIPAddressInformation)
参数
- address
- UnicastIPAddressInformation
要添加到集合的对象。The object to be added to the collection.