CheckedListBox::CheckedIndexCollection::IndexOf Method (Int32)
.NET Framework (current version)
Returns an index into the collection of checked indexes.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- index
-
Type:
System::Int32
The index of the checked item.
Return Value
Type: System::Int32The index that specifies the index of the checked item or -1 if the index parameter is not in the checked indexes collection. For more information, see the examples in the CheckedListBox::CheckedIndexCollection class overview.
The index parameter is the index of a checked item in the items collection. The return value is the corresponding index into the checked indexes collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: