Partager via


SlicerCacheLevel.SortItems Property

Gets or sets whether the items in the slicer are sorted.

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

Syntax

'Declaration
Property SortItems As XlSlicerSort
    Get
    Set
'Usage
Dim instance As SlicerCacheLevel
Dim value As XlSlicerSort

value = instance.SortItems

instance.SortItems = value
XlSlicerSort SortItems { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlSlicerSort
Specifies whether the items in the slicer are sorted.

Remarks

Read/write.

The default setting of this property is xlDataSourceOrder (1).

See Also

Reference

SlicerCacheLevel Interface

SlicerCacheLevel Members

Microsoft.Office.Interop.Excel Namespace