System.Web.UI.WebControls Namespace ListItemCollection Class
Determines whether the collection contains a specified item.
[ VB ] Public Function FindByText ( _ ByVal text As String _ ) As ListItem [ C# ] public ListItem FindByText ( string text ); [ C++ ] public: ListItem FindByText ( String* text ); [ JScript ] public function FindByText ( text : String ) : ListItem;
A ListItem that contains the text specified by the text parameter.
Use the FindByText method to search the collection for a ListItem with a Text property that contains text specified by the text parameter. If an item is not found in the collection using this criteria, a null reference ( Nothing in Visual Basic ) is returned.
ListItemCollection Members
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note