Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Collections Namespace / SortedColumnList Class / Add Method / Add(String) Method
A string representing the name of the column to add.


In This Topic
    Add(String) Method
    In This Topic
    Adds a column with the specified fieldname to the list.
    Syntax
    'Declaration
     
    Public Overloads Sub Add( _
       ByVal fieldName As String _
    ) 
    'Usage
     
    Dim instance As SortedColumnList
    Dim fieldName As String
     
    instance.Add(fieldName)
    public void Add( 
       string fieldName
    )

    Parameters

    fieldName
    A string representing the name of the column to add.
    Remarks

    The data rows that are sorted by the newly added 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