Back to Devexpress

PivotCache.CacheType Property

officefileapi-devexpress-dot-spreadsheet-dot-pivotcache-d74b0869.md

latest1.9 KB
Original Source

PivotCache.CacheType Property

Gets the type of the PivotCache source.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
PivotCacheType CacheType { get; }
vb
ReadOnly Property CacheType As PivotCacheType

Property Value

TypeDescription
PivotCacheType

A PivotCacheType enumeration member that specifies the cache type.

|

Available values:

NameDescription
Consolidation

Indicates that the cache contains data that consolidates ranges.

| | External |

Indicates that the cache contains data from an external data source.

| | Scenario |

Indicates that the cache contains a scenario summary report.

| | Worksheet |

Indicates that the cache contains worksheet data.

|

Remarks

Use the CacheType property to get the type of the source data stored in the pivot cache. Currently, the SpreadsheetControl can operate only with the pivot caches of the PivotCacheType.Worksheet and PivotCacheType.Consolidation types. A pivot cache with an external source is not supported.

See Also

PivotCache Interface

PivotCache Members

DevExpress.Spreadsheet Namespace