Column::SetAsSortColumn method
The SetAsSortColumn method specifies the sort order for the column.
Syntax
Column.SetAsSortColumn( _
ByVal SortOrder As ColumnSortOrder _
)
Parameters
-
SortOrder
-
The new sort order being assigned for the column. This can be one of the following ColumnSortOrder values.
-
SortOrder_Ascending
-
The column is sorted in ascending order.
-
SortOrder_Descending
-
The column is sorted in descending order.
Return value
This method does not return a value.
Examples
' Specify the column as the sort column.
' Make the sort descending.
objCol.SetAsSortColumn (SortOrder_Descending)
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_Column is defined as FD1C5F63-2B16-4D06-9AB3-F45350B940AB |