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