Spread Windows Forms 14.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Sort Class / Apply Method
if set to true apply the sort logic in current range.


In This Topic
    Apply Method (Sort)
    In This Topic
    Sorts the range based on the currently applied sort states.
    Syntax
    'Declaration
     
    
    Public Function Apply( _
       Optional ByVal sorting As Boolean _
    ) As ActionResult(Of Integer())
    'Usage
     
    
    Dim instance As Sort
    Dim sorting As Boolean
    Dim value As ActionResult(Of Integer())
     
    value = instance.Apply(sorting)
    public ActionResult<int[]> Apply( 
       bool sorting
    )

    Parameters

    sorting
    if set to true apply the sort logic in current range.

    Return Value

    An array represents the order of sorted rows.
    See Also