Ribbon for WinForms | ComponentOne
C1.Framework Namespace / IconSet Class / InsertItem Method
The zero-based index at which item should be inserted.
The object to insert.

In This Topic
    InsertItem Method (IconSet)
    In This Topic
    Inserts an element into the KeyedCollection at the specified index.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub InsertItem( _
       ByVal index As Integer, _
       ByVal item As C1Icon _
    ) 
    protected override void InsertItem( 
       int index,
       C1Icon item
    )

    Parameters

    index
    The zero-based index at which item should be inserted.
    item
    The object to insert.
    Exceptions
    ExceptionDescription
    index is less than 0. -or- index is greater than Count.
    See Also