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