ComponentFactory.Krypton.Toolkit.KryptonCheckedListBox.CheckedIndexCollection.IndexOf C# (CSharp) Method

IndexOf() public method

Returns an index into the collection of checked indexes.
public IndexOf ( int index ) : int
index int The index of the checked item.
return int
            public int IndexOf(int index)
            {
                if ((index >= 0) && (index < _owner.Items.Count))
                {
                    object entryObject = InnerArrayGetEntryObject(index, 0);
                    return _owner.CheckedItems.IndexOfIdentifier(entryObject);
                }
                return -1;
            }

Same methods

KryptonCheckedListBox.CheckedIndexCollection::IndexOf ( object item ) : int