TreeNodeStyleCollection.Add(TreeNodeStyle) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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.