ModuleListPage.SortColumn Property

Definition

Gets the header of the sort column.

public:
 property System::Windows::Forms::ColumnHeader ^ SortColumn { System::Windows::Forms::ColumnHeader ^ get(); };
public System.Windows.Forms.ColumnHeader SortColumn { get; }
member this.SortColumn : System.Windows.Forms.ColumnHeader
Public ReadOnly Property SortColumn As ColumnHeader

Property Value

The ColumnHeader object.

Examples

The following example displays the sort column name and index to the trace listener.

void TraceSortCol() {

    Trace.WriteLine("SortColumn Index "
                 + SortColumn.DisplayIndex.ToString()
                 + "Name = " + SortColumn.Name);
} 

Remarks

Initially, the first column is the sort column. When you click another column header in IIS Manager, it becomes the sort column.

Applies to