Share via


Column::IsSortColumn method

The IsSortColumn method returns whether the column is the sort column.

Syntax

Column.IsSortColumn() As Long

Parameters

This method has no parameters.

Examples

' Determine if the column is the sort column.
Dim nSort As Long
nSort = objCol.IsSortColumn
If (1 = nSort) Then
    MsgBox ("This is the sort column.")
Else
    MsgBox ("This is not the sort column.")
End If

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_Column is defined as FD1C5F63-2B16-4D06-9AB3-F45350B940AB

See also

Column.SetAsSortColumn