Compartilhar via


PivotField.AutoSortField Property

Returns the name of the data field used to sort the specified PivotTable field automatically. Read-only String.

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

Syntax

'Declaration
ReadOnly Property AutoSortField As String
    Get
'Usage
Dim instance As PivotField
Dim value As String

value = instance.AutoSortField
string AutoSortField { get; }

Property Value

Type: System.String

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace