TreeNodeStyleCollection.Contains(TreeNodeStyle) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した TreeNodeStyle オブジェクトがコレクション内にあるかどうかを判断します。
public:
bool Contains(System::Web::UI::WebControls::TreeNodeStyle ^ style);
public bool Contains(System.Web.UI.WebControls.TreeNodeStyle style);
member this.Contains : System.Web.UI.WebControls.TreeNodeStyle -> bool
Public Function Contains (style As TreeNodeStyle) As Boolean
パラメーター
- style
- TreeNodeStyle
検索する TreeNodeStyle 。
返品
true指定した TreeNodeStyle オブジェクトがコレクションに含まれている場合は。それ以外の場合は false。
注釈
Contains メソッドを使用して、TreeNodeStyle オブジェクトがTreeNodeStyleCollection オブジェクトに含まれているかどうかを判断します。 Contains メソッドは、通常、コレクションに対してノードの追加や削除などのタスクを実行する前に、TreeNodeStyle オブジェクトの存在をテストするために使用されます。