Share via


MmcListView.Sort Method (Int32, Boolean, Boolean)

 

Initiates sorting on the column that has the specified index in a specified order and uses a parameter to select whether a sort icon should be displayed in the column header.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public void Sort(
    int columnIndex,
    bool descending,
    bool hideSortIcon
)
public:
void Sort(
    int columnIndex,
    bool descending,
    bool hideSortIcon
)
member Sort : 
        columnIndex:int *
        descending:bool *
        hideSortIcon:bool -> unit
Public Sub Sort (
    columnIndex As Integer,
    descending As Boolean,
    hideSortIcon As Boolean
)

Parameters

  • columnIndex
    Type: System.Int32

    The index of the column to be sorted.

  • descending
    Type: System.Boolean

    True if the sorting order is descending; false if the sort order is ascending.

  • hideSortIcon
    Type: System.Boolean

    True if a sort icon should be displayed in the column header; false otherwise.

See Also

Sort Overload
MmcListView Class
Microsoft.ManagementConsole Namespace

Return to top