SlicerCache.ShowAllItems Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether slicers connected to the specified slicer cache display items that have been deleted from in the corresponding PivotCache.
public:
property bool ShowAllItems { bool get(); void set(bool value); };
public bool ShowAllItems { get; set; }
Public Property ShowAllItems As Boolean
Property Value
true if slicers connected to the specified slicer cache display items that have been deleted from in the corresponding PivotCache; otherwise, false. The default is true.
Remarks
Read/write.
When the ShowAllItems property is set to true (the default), items that have been deleted from the source data are displayed in the slicers connected to the specified slicer cache. The ShowAllItems property corresponds to the setting of the Show items deleted from the data source check box in the Slicer Settings dialog box.
The ShowAllItems property applies only to slicers that are based on workbook ranges or lists (SlicerCache.SourceType = xlDatabase), or to slicers that are based on relational data sources (SlicerCache.SourceType = xlExternal and SlicerCache.OLAP = false). Attempting to set the ShowAllItems property for slicers that are connected to PivotTables based on external OLAP data sources (SlicerCache.OLAP = true) generates a run-time error.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應