TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / PropertyPath Class / InsertItem Method
The zero-based index at which item should be inserted.
The object to insert. The value can be a null reference (Nothing in Visual Basic) for reference types.

In This Topic
    InsertItem Method (PropertyPath)
    In This Topic
    Inserts an element into the Collection at the specified index.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub InsertItem( _
       ByVal index As Integer, _
       ByVal item As ObservableKeyValuePair(Of Integer,String) _
    ) 
    protected virtual void InsertItem( 
       int index,
       ObservableKeyValuePair<int,string> item
    )

    Parameters

    index
    The zero-based index at which item should be inserted.
    item
    The object to insert. The value can be a null reference (Nothing in Visual Basic) for reference types.
    See Also