Collection. Copy To(IPAddress, Int32) Method
Copies the elements in this collection to a one-dimensional array of type IPAddress.
public: virtual void CopyTo(cli::array <System::Net::IPAddress ^> ^ array, int offset);
public virtual void CopyTo (System.Net.IPAddress array, int offset);
abstract member CopyTo : System.Net.IPAddress * int -> unit override this.CopyTo : System.Net.IPAddress * int -> unit
Public Overridable Sub CopyTo (array As IPAddress(), offset As Integer)
A one-dimensional array that receives a copy of the collection.
The zero-based index in
array at which the copy begins.
offset is less than zero.
array is multidimensional.
The number of elements in this IPAddressCollection is greater than the available space from
offset to the end of the destination
The elements in this IPAddressCollection cannot be cast automatically to the type of the destination
The array parameter must be one-dimensional with zero-based indexing.