'Declaration Public Function IndexOf( _ ByVal item As ComboBoxItem _ ) As Integer
'Usage Dim instance As ComboBoxItemList Dim item As ComboBoxItem Dim value As Integer value = instance.IndexOf(item)
public int IndexOf( ComboBoxItem item )
Parameters
- item
- The ComboBoxItem to locate.
Return Value
The zero-based index of the first occurrence of item within the entire list, if found; otherwise, returns -1.