System.Net.NetworkInformation.IPAddressInformationCollection.CopyTo Method

Copies the collection to the specified array.

Syntax

public virtual void CopyTo (IPAddressInformation[] array, int offset)

Parameters

array
A one-dimensional array that receives a copy of the collection.
offset
The zero-based index in array at which the copy begins.

Remarks

The array parameter must be one-dimensional with zero-based indexing.

Requirements

Namespace: System.Net.NetworkInformation
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0