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