TreeNodeStyleCollection.Add(TreeNodeStyle) Método

Definição

Acrescenta o objeto especificado TreeNodeStyle ao final do TreeNodeStyleCollection objeto.

public:
 int Add(System::Web::UI::WebControls::TreeNodeStyle ^ style);
public int Add(System.Web.UI.WebControls.TreeNodeStyle style);
member this.Add : System.Web.UI.WebControls.TreeNodeStyle -> int
Public Function Add (style As TreeNodeStyle) As Integer

Parâmetros

style
TreeNodeStyle

O TreeNodeStyle acréscimo.

Retornos

A posição na qual o novo TreeNodeStyle foi inserido.

Comentários

Use o Add método para acrescentar o objeto especificado TreeNodeStyle ao final do TreeNodeStyleCollection objeto.

Note

Permite TreeNodeStyleCollection adicionar null, bem como objetos duplicados TreeNodeStyle .

Aplica-se a

Confira também