Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Collections Namespace / SortedColumnList Class / Insert Method / Insert(Int32,Column) Method
The zero-based index at which to insert the column.
A reference to the Xceed.Grid.Column object to insert.


In This Topic
    Insert(Int32,Column) Method
    In This Topic
    Inserts a column into the list at the specified index.
    Syntax
    'Declaration
     
    Public Overloads Sub Insert( _
       ByVal index As Integer, _
       ByVal column As Column _
    ) 
    'Usage
     
    Dim instance As SortedColumnList
    Dim index As Integer
    Dim column As Column
     
    instance.Insert(index, column)
    public void Insert( 
       int index,
       Column column
    )

    Parameters

    index
    The zero-based index at which to insert the column.
    column
    A reference to the Xceed.Grid.Column object to insert.
    Remarks

    The data rows that are sorted by the newly inserted column will be sorted in an ascending direction.

    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