Inserts the specified System.Web.UI.WebControls.TreeNodeStyle object into the System.Web.UI.WebControls.TreeNodeStyleCollection object at the specified index location.
- index
- The zero-based index location at which to insert the System.Web.UI.WebControls.TreeNodeStyle.
- style
- The System.Web.UI.WebControls.TreeNodeStyle to insert.
Use the TreeNodeStyleCollection.Insert(int, TreeNodeStyle) method to insert the specified System.Web.UI.WebControls.TreeNodeStyle object into the System.Web.UI.WebControls.TreeNodeStyleCollection object at the specified zero-based index.
As an alternative, you can append a System.Web.UI.WebControls.TreeNodeStyle object to the end of the System.Web.UI.WebControls.TreeNodeStyleCollection by using the TreeNodeStyleCollection.Add(TreeNodeStyle) method.