Share via


SortField.DataOption Property

Specifies how to sort text in the range specified in SortField object. Read/write.

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

Syntax

'Declaration
Property DataOption As XlSortDataOption
    Get
    Set
'Usage
Dim instance As SortField
Dim value As XlSortDataOption

value = instance.DataOption

instance.DataOption = value
XlSortDataOption DataOption { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlSortDataOption
XlSortDataOption

See Also

Reference

SortField Interface

SortField Members

Microsoft.Office.Interop.Excel Namespace