Share via


TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) Método

Definición

Inserta el objeto TreeNodeStyle especificado en el objeto TreeNodeStyleCollection en la ubicación de índice especificada.

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)

Parámetros

index
Int32

Posición de índice de base cero donde se inserta el objeto TreeNodeStyle.

style
TreeNodeStyle

TreeNodeStyle que se va a insertar.

Comentarios

Utilice el Insert método para insertar el objeto especificado TreeNodeStyle en el TreeNodeStyleCollection objeto en el índice de base cero especificado.

Como alternativa, puede anexar un TreeNodeStyle objeto al final de TreeNodeStyleCollection mediante el Add método .

Se aplica a

Consulte también