語言

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 末尾。

Note

它 TreeNodeStyleCollection 允許你新增 null,也可以複製 TreeNodeStyle 物件。

適用於

另請參閱