TreeNodeStyleCollection.Add(TreeNodeStyle) 方法

定义

将指定的 TreeNodeStyle 对象追加到对象的末尾 TreeNodeStyleCollection

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

参数

style
TreeNodeStyle

TreeNodeStyle 追加的。

返回

插入新 TreeNodeStyle 项的位置。

注解

Add使用该方法将指定的TreeNodeStyle对象追加到对象的末尾TreeNodeStyleCollection

注释

TreeNodeStyleCollection 属性允许添加 null和重复 TreeNodeStyle 对象。

适用于

另请参阅