'Declaration
Protected Function FindFirstMatchedAndCanBeSelectedIndex( _ ByVal text As String, _ ByVal ignoreCase As Boolean _ ) As Integer
'Usage
Dim instance As GcComboBoxCellType Dim text As String Dim ignoreCase As Boolean Dim value As Integer value = instance.FindFirstMatchedAndCanBeSelectedIndex(text, ignoreCase)
protected int FindFirstMatchedAndCanBeSelectedIndex( string text, bool ignoreCase )
Parameters
- text
- A System.String value indicates the matched text.
- ignoreCase
- A bool value, true if we match string ignore upper or lower case; otherwise, false.
Return Value
A int value indicates the index of first ListItem which matches the specified text in the dropdown list. If don't find ,then return -1.