TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) Método

Definición

Inserta el objeto especificado TreeNodeStyle en el TreeNodeStyleCollection objeto 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

Ubicación del índice de base cero en la que se va a insertar .TreeNodeStyle

style
TreeNodeStyle

que TreeNodeStyle 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