Editar

Compartir a través de


PersonalizationStateInfoCollection.CopyTo Method

Definition

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

public:
 void CopyTo(cli::array <System::Web::UI::WebControls::WebParts::PersonalizationStateInfo ^> ^ array, int index);
public void CopyTo (System.Web.UI.WebControls.WebParts.PersonalizationStateInfo[] array, int index);
member this.CopyTo : System.Web.UI.WebControls.WebParts.PersonalizationStateInfo[] * int -> unit
Public Sub CopyTo (array As PersonalizationStateInfo(), index As Integer)

Parameters

array
PersonalizationStateInfo[]

The array the elements in the collection are copied into.

index
Int32

The location at which to start the copy operation.

Remarks

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.

Applies to

See also