System.Web.UI.WebControls.TreeNodeStyleCollection.CopyTo Method

Copies all the items from the System.Web.UI.WebControls.TreeNodeStyleCollection object to a compatible one-dimensional array of System.Web.UI.WebControls.TreeNodeStyle objects, starting at the specified index in the target array.

Syntax

public void CopyTo (TreeNodeStyle[] array, int index)

Parameters

array
Documentation for this section has not yet been entered.
index
The position in the target array at which to start receiving the copied content.

Remarks

Use the TreeNodeStyleCollection.CopyTo(TreeNodeStyle[], int) method to copy the contents of the System.Web.UI.WebControls.TreeNodeStyleCollection object into the specified zero-based array of System.Web.UI.WebControls.TreeNodeStyle objects. Items are copied starting at the specified index of the target array. You can then use the array to access the items in the collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0