ESRI.ArcGIS.ADF.Web.UI.WebControls
IndexOf Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DropDownBoxItemCollection 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 ListItem _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DropDownBoxItemCollection
Dim item As ListItem
Dim value As Integer
 
value = instance.IndexOf(item)
C# 
public int IndexOf( 
   ListItem item
)

Parameters

item
The item to search for.

Return Value

The index of the item.

See Also

© 2010 All Rights Reserved.