PersonalizationStateInfoCollection.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.