PersonalizationStateInfoCollection.CopyTo Method

Note: This method is new in the .NET Framework version 2.0.

Copies the elements of the PersonalizationStateInfoCollection collection into a PersonalizationStateInfo array, starting at the specified position.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public:
void CopyTo (
	array<PersonalizationStateInfo^>^ array, 
	int index
)
public void CopyTo (
	PersonalizationStateInfo[] array, 
	int index
)
public function CopyTo (
	array : PersonalizationStateInfo[], 
	index : int
)

Parameters

array

The array the elements in the collection are copied into.

index

The location at which to start the copy operation.

Use this method if you want to create a PersonalizationStateInfo array. This method simply calls the ArrayList.CopyTo method and passes the array and index parameters.

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: