TreeView for WinForms | ComponentOne
C1.Framework Namespace / TreeColumnCollection 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 (TreeColumnCollection)
    In This Topic
    Replaces the element at the specified index.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub SetItem( _
       ByVal index As Integer, _
       ByVal item As GridColumn _
    ) 
    protected override void SetItem( 
       int index,
       GridColumn 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.
    Exceptions
    ExceptionDescription
    index is less than zero. -or- index is greater than Count.
    See Also