System.Net.CookieCollection.CopyTo Method

Copies the elements of a System.Net.CookieCollection to an instance of the Array class, starting at a particular index.

Syntax

public void CopyTo (Array array, int index)

Parameters

array
The target Array to which the System.Net.CookieCollection will be copied.
index
The zero-based index in the target Array where copying begins.

Remarks

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

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0