Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / SortCommand Class / SortBy Method / SortBy(IWorksheet,Reference,CfIcon) Method
The worksheet to sort.
The sorting range.
The cell icon to sort.


In This Topic
    SortBy(IWorksheet,Reference,CfIcon) Method
    In This Topic
    Create sort command for sort by cell icon.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function SortBy( _
       ByVal worksheet As IWorksheet, _
       ByVal range As Reference, _
       ByVal icon As CfIcon _
    ) As SortCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim range As Reference
    Dim icon As CfIcon
    Dim value As SortCommand
     
    value = SortCommand.SortBy(worksheet, range, icon)

    Parameters

    worksheet
    The worksheet to sort.
    range
    The sorting range.
    icon
    The cell icon to sort.
    See Also