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
© 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