Heureka API .NET Documentation
IndexOf Method (TreeCollection)



The tree to look for
Gets the index of a tree in the collection
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal tree As Tree _
) As Integer
'Usage
 
Dim instance As TreeCollection
Dim tree As Tree
Dim value As Integer
 
value = instance.IndexOf(tree)
public int IndexOf( 
   Tree tree
)
public:
int IndexOf( 
   Tree^ tree
) 

Parameters

tree
The tree to look for

Return Value

Index of first occurence of the tree, or -1 if the tree not exists
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TreeCollection Class
TreeCollection Members

Send Feedback