HttpCookieCollection.CopyTo Method (Array, Int32)


Copies members of the cookie collection to an Array beginning at the specified index of the array.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

member CopyTo : 
        dest:Array *
        index:int -> unit


Type: System.Array

The destination Array.

Type: System.Int32

The index of the destination array where copying starts.

The following example copies the entire cookie collection into a new Array object.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top