IndexOf Method
Determines the index of a TreeNode within the TreeNodeCollection.
Syntax
Visual Basic Public Function
IndexOf( ByVal oNode As TreeNode ) As intC# public int
IndexOf(TreeNode oNode );Managed C++ public: int
IndexOf(TreeNode oNode );JScript public function
IndexOf(oNode : TreeNode );
Parameters
oNode Required. TreeNode object to search for in the collection.
Return Value
int. The index of the TreeNode object.
Applies To
TreeNodeCollection
See Also
Internet Explorer WebControls, About the TreeView WebControl