In The Hand LtdIn The Hand
FindStringExact Method (cb, s, startIndex)
NamespacesInTheHand.Windows.FormsComboBoxHelperFindStringExact(ComboBox, String, Int32)
.NET Components for Mobility
Finds the first item in the ComboBox after the specified index that matches the specified string.
Declaration Syntax
C#Visual Basic
public static int FindStringExact(
	ComboBox cb,
	string s,
	int startIndex
)
Public Shared Function FindStringExact ( _
	cb As ComboBox, _
	s As String, _
	startIndex As Integer _
) As Integer
Parameters
cb (ComboBox)
The ComboBox 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