TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) 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.
Inserts the specified TreeNodeStyle object into the TreeNodeStyleCollection object at the specified index location.
public:
void Insert(int index, System::Web::UI::WebControls::TreeNodeStyle ^ style);
public void Insert (int index, System.Web.UI.WebControls.TreeNodeStyle style);
member this.Insert : int * System.Web.UI.WebControls.TreeNodeStyle -> unit
Public Sub Insert (index As Integer, style As TreeNodeStyle)
Parameters
- index
- Int32
The zero-based index location at which to insert the TreeNodeStyle.
- style
- TreeNodeStyle
The TreeNodeStyle to insert.
Remarks
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.