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 オブジェクトを追加できます。

適用対象

こちらもご覧ください