Muokkaa

Jaa


TreeNodeStyleCollection.Add(TreeNodeStyle) Method

Definition

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