Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IPAddressCollection type exposes the following members.
Initializes a new instance of the IPAddressCollection class as a wrapper for the specified list
.
C#
public IPAddressCollection(IList<IPAddress> list)
Parameters
The list that is wrapped by the new collection.
Exceptions
The list
is a null reference (Nothing in Visual Basic).
Adds a string formatted IPAddress to the end of the IPAddressCollection.
C#
public void Add(string ipAddress)
Parameters
ipAddress
String
The String to be parsed and added to the end of the IPAddressCollection.
Exceptions
The ipAddress
is an empty string.
The ipAddress
is a null reference (Nothing in Visual Basic).
The ipAddress
is not a valid IP address.
Removes the first occurrence of a string formatted IPAddress from the IPAddressCollection.
C#
public void Remove(string ipAddress)
Parameters
ipAddress
String
The String to be parsed to an IPAddress which is to be removed from the IPAddressCollection.
Exceptions
The ipAddress
is an empty string.
The ipAddress
is a null reference (Nothing in Visual Basic).
The ipAddress
is not a valid IP address.