ListItemCollection.IndexOf Method
.NET Framework 3.0
Determines the index value that represents the position of the specified ListItem in the collection.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public int IndexOf ( ListItem item )
public function IndexOf ( item : ListItem ) : int
Not applicable.
Parameters
- item
A ListItem to search for in the collection.
Return Value
The index position of the specified ListItem in the collection.Community Additions
ADD
Show: