ESRI.ArcGIS.ADF.Web.UI.WebControls
IndexOf Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ToolbarItemCollection Class : IndexOf Method




item
The item to search for.
Returns the index of the specified item in the collection.

Syntax

Visual Basic (Declaration) 
Public Function IndexOf( _
   ByVal item As ToolbarItem _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ToolbarItemCollection
Dim item As ToolbarItem
Dim value As Integer
 
value = instance.IndexOf(item)
C# 
public int IndexOf( 
   ToolbarItem item
)

Parameters

item
The item to search for.

Return Value

The index of the item, or -1 if not found.

See Also

© 2010 All Rights Reserved.