TreeNodeStyleCollection.Add(TreeNodeStyle) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 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 对象。