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
備註
使用該 Insert 方法將指定的 TreeNodeStyle 物件插入 TreeNodeStyleCollection 指定的零為基礎索引的物件中。
另外,你也可以用這個TreeNodeStyle方法在 的TreeNodeStyleCollection結尾加上Add一個物件。