'Declaration Public Overloads Function Find( _ ByVal displayText As String, _ ByVal searchPattern As WinComboBox.SearchPattern _ ) As Integer
'Usage Dim instance As WinComboBox Dim displayText As String Dim searchPattern As WinComboBox.SearchPattern Dim value As Integer value = instance.Find(displayText, searchPattern)
public int Find( string displayText, WinComboBox.SearchPattern searchPattern )
Parameters
- displayText
- A string representing the displayed text.
- searchPattern
- A WinComboBox.SearchPattern representing the pattern to use when searching for displayText.
Return Value
The zero-based index of the first occurrence of displayText. If -1, the value was not found.