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

Parameters

item
The item to search for.

Return Value

The index of the item.

See Also

© 2010 All Rights Reserved.