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.