System.Web.UI.WebControls Namespace ListItemCollection Class
Returns the index value that represents the position of the specified ListItem within the collection.
[ VB ] Public Function IndexOf ( _ ByVal item As ListItem _ ) As Integer [ C# ] public int IndexOf ( ListItem item ); [ C++ ] public: int IndexOf ( ListItem* item ); [ JScript ] public function IndexOf ( item : ListItem ) : int;
The index number of the specified ListItem within the collection.
Use the IndexOf method to determine the index value of the ListItem specified by the item parameter in the collection. If an item with this criteria is not found in the collection, -1 is returned.
ListItemCollection Members
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph