Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / AppearanceStyleCollection Class / InsertItem Method
The zero based index at which item should be inserted.
The object to insert. The value can be null for reference types.


In This Topic
    InsertItem Method (AppearanceStyleCollection)
    In This Topic
    Inserts an element into the Collection at the specified index.
    Syntax
    'Declaration
     
    
    Protected Overrides NotOverridable Sub InsertItem( _
       ByVal index As Integer, _
       ByVal item As AppearanceStyleInfo _
    ) 
    'Usage
     
    
    Dim instance As AppearanceStyleCollection
    Dim index As Integer
    Dim item As AppearanceStyleInfo
     
    instance.InsertItem(index, item)
    protected override void InsertItem( 
       int index,
       AppearanceStyleInfo item
    )

    Parameters

    index
    The zero based index at which item should be inserted.
    item
    The object to insert. The value can be null for reference types.
    Exceptions
    ExceptionDescription

    The index is less than 0.

    -or-

    The index is greater than Count.

    The item is a null reference (Nothing in Visual Basic).
    See Also