TreeNodeBindingCollection::Contains Method (TreeNodeBinding^)
.NET Framework (current version)
Determines whether the specified TreeNodeBinding object is in the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- binding
-
Type:
System.Web.UI.WebControls::TreeNodeBinding^
The TreeNodeBinding to find.
Return Value
Type: System::Booleantrue if the TreeNodeBinding is in the collection; otherwise, false.
Use the Contains method to determine whether a TreeNodeBinding object is contained in the TreeNodeBindingCollection object. This method is commonly used to test for the existence of a TreeNodeBinding object before performing a task, such as adding or removing a TreeNodeBinding from the collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: