TreeNodeStyleCollection.Add(TreeNodeStyle) Método

Definición

Anexa el objeto especificado TreeNodeStyle al final del 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

que TreeNodeStyle se va a anexar.

Devoluciones

Posición en la que se insertó el nuevo TreeNodeStyle .

Comentarios

Utilice el Add método para anexar el objeto especificado TreeNodeStyle al final del TreeNodeStyleCollection objeto .

Note

TreeNodeStyleCollection permite agregar null, así como objetos duplicadosTreeNodeStyle.

Se aplica a

Consulte también