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 para acrescentar.

Devoluções

A posição em que o novo TreeNodeStyle foi inserido.

Observações

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

Note

Permite-te TreeNodeStyleCollection adicionar null, bem como duplicar TreeNodeStyle os objetos.

Aplica-se a

Ver também