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 末尾。
Note
它 TreeNodeStyleCollection 允許你新增 null,也可以複製 TreeNodeStyle 物件。