ComponentOne Input for WinForms
IndexOf Method (DropDownItemCollection)

C1.Win.C1Input.4 Assembly > C1.Win.C1Input Namespace > DropDownItemCollection Class : IndexOf Method
The item to locate in the list.
Returns the zero-based index of the first occurrence of a value in the list.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As DropDownItem _
) As System.Integer
public System.int IndexOf( 
   DropDownItem value
)

Parameters

value
The item to locate in the list.

Return Value

The zero-based index of the first occurrence of value within the entire list, if found; otherwise, -1.
See Also

Reference

DropDownItemCollection Class
DropDownItemCollection Members