Copies all the items from the System.Web.UI.WebControls.TreeNodeBindingCollection object to a compatible one-dimensional array of System.Web.UI.WebControls.TreeNodeBinding objects, starting at the specified index in the target array.
Use the TreeNodeBindingCollection.CopyTo(TreeNodeBinding[], int) method to copy the contents of the System.Web.UI.WebControls.TreeNodeBindingCollection object into bindingArray. Items are copied starting at index. You can then use the array to access the items that are in the collection.
As an alternative, you can use the System.Web.UI.StateManagedCollection.GetEnumerator method to create an enumerator that can be used to access the items in the collection.