In The Hand LtdIn The Hand
FindStringExact Method (lb, s, startIndex)
NamespacesInTheHand.Windows.FormsListBoxHelperFindStringExact(ListBox, String, Int32)
.NET Components for Mobility
Finds the first item in the ListBox after the specified index that matches the specified string.
Declaration Syntax
C#Visual Basic
public static int FindStringExact(
	ListBox lb,
	string s,
	int startIndex
)
Public Shared Function FindStringExact ( _
	lb As ListBox, _
	s As String, _
	startIndex As Integer _
) As Integer
Parameters
lb (ListBox)
The ListBox to search.
s (String)
The String to search for.
startIndex (Int32)
The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control.
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