Export (0) Print
Expand All

CookieCollection.CopyTo Method

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

[Visual Basic]
Public Overridable Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) Implements ICollection.CopyTo
[C#]
public virtual void CopyTo(
 Array array,
 int index
);
[C++]
public: virtual void CopyTo(
 Array* array,
 int index
);
[JScript]
public function CopyTo(
   array : Array,
 index : int
);

Parameters

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

Implements

ICollection.CopyTo

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CookieCollection Class | CookieCollection Members | System.Net Namespace

Show:
© 2014 Microsoft