IHttpSessionState.CopyTo Method

Copies the collection of session-state item values to a one-dimensional array, starting at the specified index in the array.

Namespace: System.Web.SessionState
Assembly: System.Web (in system.web.dll)

void CopyTo (
	Array^ array, 
	int index
)
void CopyTo (
	Array array, 
	int index
)
function CopyTo (
	array : Array, 
	index : int
)
Not applicable.

Parameters

array

The Array that receives the session values.

index

The index in array where copying starts.

The following code example implements the CopyTo method of the IHttpSessionState interface to copy session-state item values to an array.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: