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

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.