TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / PropertyPath Class / SetItem Method
The zero-based index of the element to replace.
The new value for the element at the specified index. The value can be a null reference (Nothing in Visual Basic) for reference types.

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

    Parameters

    index
    The zero-based index of the element to replace.
    item
    The new value for the element at the specified index. The value can be a null reference (Nothing in Visual Basic) for reference types.
    See Also