ESRI.ArcGIS.ADF.Web.UI.WebControls
IndexOf Method
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.