In The Hand LtdIn The Hand
FindString Method (lb, s)
NamespacesInTheHand.Windows.FormsListBoxHelperFindString(ListBox, String)
.NET Components for Mobility
Finds the first item in the ListBox that starts with the specified string.
Declaration Syntax
C#Visual Basic
public static int FindString(
	ListBox lb,
	string s
)
Public Shared Function FindString ( _
	lb As ListBox, _
	s As String _
) As Integer
Parameters
lb (ListBox)
The ListBox to search.
s (String)
The String to search for.
Return Value
The zero-based index of the first item found; returns -1 if no match is found.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0