TreeNodeStyleCollection::Insert Method (Int32, TreeNodeStyle^)
.NET Framework (current version)
Inserts the specified TreeNodeStyle object into the TreeNodeStyleCollection object at the specified index location.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index location at which to insert the TreeNodeStyle.
- style
-
Type:
System.Web.UI.WebControls::TreeNodeStyle^
The TreeNodeStyle to insert.
Use the Insert method to insert the specified TreeNodeStyle object into the TreeNodeStyleCollection object at the specified zero-based index.
As an alternative, you can append a TreeNodeStyle object to the end of the TreeNodeStyleCollection by using the Add method.
.NET Framework
Available since 2.0
Available since 2.0
Show: