Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Collections Namespace / SortedColumnList Class / Insert Method / Insert(Int32,String,Boolean) Method
The zero-based index at which to insert the column.
A string representing the name of the column to insert.
true if the column will sort the data rows in an ascending direction; false if the data rows are to be sorted in a descending direction.


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

    Parameters

    index
    The zero-based index at which to insert the column.
    fieldName
    A string representing the name of the column to insert.
    ascending
    true if the column will sort the data rows in an ascending direction; false if the data rows are to be sorted in a descending 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