TreeNodeStyleCollection.Add(TreeNodeStyle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Appends the specified TreeNodeStyle object to the end of the TreeNodeStyleCollection object.
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
Parameters
- style
- TreeNodeStyle
The TreeNodeStyle to append.
Returns
The position into which the new TreeNodeStyle was inserted.
Remarks
Use the Add method to append the specified TreeNodeStyle object to the end of the TreeNodeStyleCollection object.
Note
The TreeNodeStyleCollection allows you to add null
, as well as duplicate TreeNodeStyle objects.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour