Share via


SortField.SortOn Property

Returns or sets what attribute of the cell to sort on . Read/write.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property SortOn As XlSortOn
    Get
    Set
'Usage
Dim instance As SortField
Dim value As XlSortOn

value = instance.SortOn

instance.SortOn = value
XlSortOn SortOn { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlSortOn
XlSortOn

See Also

Reference

SortField Interface

SortField Members

Microsoft.Office.Interop.Excel Namespace