TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) Método

Definição

Insere o objeto especificado TreeNodeStyle no TreeNodeStyleCollection objeto na localização do í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

A localização do índice base em zero onde inserir o TreeNodeStyle.

style
TreeNodeStyle

O TreeNodeStyle para inserir.

Observações

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

Como alternativa, pode adicionar um TreeNodeStyle objeto ao final do TreeNodeStyleCollection usando o Add método.

Aplica-se a

Ver também