Nevron .NET Vision
Nevron.Chart Namespace / NDataSeriesCollection Class / Sort Method / Sort(Int32,DataSeriesSortOrder,IComparer) Method
specifies the index of the data series, which is used as sort key
the desired order
custom coparer object


In This Topic
    Sort(Int32,DataSeriesSortOrder,IComparer) Method
    In This Topic
    Sorts the contained data series in the specified sort manner, by using a specified comparer.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal masterDataSeries As System.Integer, _
       ByVal order As DataSeriesSortOrder, _
       ByVal comparer As System.Collections.IComparer _
    ) 
    'Usage
     
    
    Dim instance As NDataSeriesCollection
    Dim masterDataSeries As System.Integer
    Dim order As DataSeriesSortOrder
    Dim comparer As System.Collections.IComparer
     
    instance.Sort(masterDataSeries, order, comparer)
    public void Sort( 
       System.int masterDataSeries,
       DataSeriesSortOrder order,
       System.Collections.IComparer comparer
    )

    Parameters

    masterDataSeries
    specifies the index of the data series, which is used as sort key
    order
    the desired order
    comparer
    custom coparer object
    Remarks
    The sort is performed on the data series specified by the masterDataSeries parameter.
    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