TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) Método

Definição

Insere o objeto especificado TreeNodeStyle no TreeNodeStyleCollection objeto no local de índice especificado.

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

O local do índice baseado em zero no qual inserir o TreeNodeStyle.

style
TreeNodeStyle

A TreeNodeStyle inserção a ser inserida.

Comentários

Use o Insert método para inserir o objeto especificado TreeNodeStyle no TreeNodeStyleCollection objeto no índice baseado em zero especificado.

Como alternativa, você pode acrescentar um TreeNodeStyle objeto ao final usando TreeNodeStyleCollection o Add método.

Aplica-se a

Confira também