System.Net.CookieCollection.CopyTo Method

Copies the elements of this System.Net.CookieCollection to a System.Net.Cookie array starting at the specified index of the target array.

Syntax

public void CopyTo (Cookie[] array, int index)

Parameters

array
The target System.Net.Cookie 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: 2.0.0.0, 4.0.0.0