Compartilhar via


MmcListView.Sort Method (Int32, Boolean)

 

Initiates sorting on the column that has the specified index in the specified order. A sort icon is displayed in the column header.

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

Syntax

public void Sort(
    int columnIndex,
    bool descending
)
public:
void Sort(
    int columnIndex,
    bool descending
)
member Sort : 
        columnIndex:int *
        descending:bool -> unit
Public Sub Sort (
    columnIndex As Integer,
    descending 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.

See Also

Sort Overload
MmcListView Class
Microsoft.ManagementConsole Namespace

Return to top