TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 TreeNodeStyle 对象插入 TreeNodeStyleCollection 到位于指定索引位置的对象中。
public:
void Insert(int index, System::Web::UI::WebControls::TreeNodeStyle ^ style);
public void Insert(int index, System.Web.UI.WebControls.TreeNodeStyle style);
member this.Insert : int * System.Web.UI.WebControls.TreeNodeStyle -> unit
Public Sub Insert (index As Integer, style As TreeNodeStyle)
参数
- index
- Int32
要插入的从零开始的 TreeNodeStyle索引位置。
- style
- TreeNodeStyle
要 TreeNodeStyle 插入的。
注解
使用该方法将 Insert 指定 TreeNodeStyle 对象插入到 TreeNodeStyleCollection 指定从零开始的索引处的对象。
或者,可以使用该方法将对象追加TreeNodeStyle到末尾TreeNodeStyleCollectionAdd。