Contains Method
Determines whether a TreeNode is in the TreeNodeCollection.
Syntax
Visual Basic Public Function
Contains( ByVal oNode As TreeNode ) As boolC# public bool
Contains(TreeNode oNode );Managed C++ public: bool
Contains(TreeNode oNode );JScript public function
Contains(oNode : TreeNode );
Parameters
oNode Required. TreeNodeType object to search for in the collection.
Return Value
Returns one of the following possible values.
false Default. The TreeNode is not in the TreeNodeCollection. true
The TreeNode is in the TreeNodeCollection.
Applies To
TreeNodeCollection
See Also
Internet Explorer WebControls, About the TreeView WebControl