Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / Insert(Int32,SmartItem) Method
The zero-based index at which to insert the SmartItem.
A reference to the SmartItem to insert.


In This Topic
    Insert(Int32,SmartItem) Method
    In This Topic
    Inserts a SmartItem into the collection at the specified index.
    Syntax
    'Declaration
     
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal item As SmartItem _
    ) 
    'Usage
     
    Dim instance As SmartItemCollection
    Dim index As Integer
    Dim item As SmartItem
     
    instance.Insert(index, item)
    public void Insert( 
       int index,
       SmartItem item
    )

    Parameters

    index
    The zero-based index at which to insert the SmartItem.
    item
    A reference to the SmartItem to insert.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also