Utility FindComboBoxItem Method CleanCode C# Libraries v1.2.03 API
Finds the specified combo box item.

Namespace: CleanCode.Data
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public static int FindComboBoxItem(
	ComboBox comboBox,
	string regExp

Return Value

The combo box item matching the given regular expression, or null if not found.

Unlike the OnlineFindString(String) method, FindComboBoxItem can locate a substring starting anywhere in the Item text, not just at the start of the Item text. Also, by using regular expressions, you have more resolution over what to find.
See Also