CheckedListBox::CheckedIndexCollection::Contains Method (Int32)
.NET Framework (current version)
Determines whether the specified index is located in the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- index
-
Type:
System::Int32
The index to locate in the collection.
Return Value
Type: System::Booleantrue if the specified index from the CheckedListBox::ObjectCollection is an item in this collection; otherwise, false.
You can use this method to determine whether an index from the Items collection is in the CheckedIndices collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: