System.Web.UI.WebControls.TreeNodeStyleCollection.Add Method

Appends the specified System.Web.UI.WebControls.TreeNodeStyle object to the end of the System.Web.UI.WebControls.TreeNodeStyleCollection object.

Syntax

public int Add (TreeNodeStyle style)

Parameters

style
The System.Web.UI.WebControls.TreeNodeStyle to append.

Returns

The position into which the new System.Web.UI.WebControls.TreeNodeStyle was inserted.

Remarks

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0