Class XlsPivotCache
- Namespace
- Spire.Xls.Core.Spreadsheet.PivotTables
- Assembly
- Spire.XLS.dll
public class XlsPivotCache : XlsObject, IExcelApplication, IDisposable, IPivotCache
- Inheritance
-
XlsPivotCache
- Implements
- Derived
- Inherited Members
Properties
CalculatedItemIndex
public int CalculatedItemIndex { get; }
Property Value
CreatedVersion
Specifies the version of the application that created the cache. This attribute is application-dependent.
public int CreatedVersion { get; set; }
Property Value
EnableRefresh
Specifies a boolean value that indicates whether the user can refresh the cache.
public bool EnableRefresh { get; set; }
Property Value
HasNamedRange
Indicates whether the pivot cache has named range
public bool HasNamedRange { get; }
Property Value
Index
public int Index { get; }
Property Value
IsBackgroundQuery
Specifies a boolean value that indicates whether the application should query and retrieve records asynchronously from the cache.
public bool IsBackgroundQuery { get; set; }
Property Value
IsInvalidData
Specifies a boolean value that indicates whether the cache needs to be refreshed.
public bool IsInvalidData { get; set; }
Property Value
IsOptimizedCache
Specifies a boolean value that indicates whether the application will apply optimizations to the cache to reduce memory usage
public bool IsOptimizedCache { get; set; }
Property Value
IsRefreshOnLoad
Specifies a boolean value that indicates whether the application will refresh the cache
public bool IsRefreshOnLoad { get; set; }
Property Value
IsSaveData
Specifies a boolean value that indicates whether the pivot records are saved with the cache.
public bool IsSaveData { get; set; }
Property Value
IsSupportSubQuery
Specifies whether the cache's data source supports subqueries
public bool IsSupportSubQuery { get; set; }
Property Value
IsUpgradeOnRefresh
Specifies a boolean value that indicates whether the cache is scheduled for version upgrade.
public bool IsUpgradeOnRefresh { get; set; }
Property Value
MinRefreshableVersion
Specifies the earliest version of the application that is required to refresh the cache.
public int MinRefreshableVersion { get; set; }
Property Value
NeedDataArray
public bool NeedDataArray { get; }
Property Value
Parent
public XlsPivotCachesCollection Parent { get; }
Property Value
RangeName
Contains the name of the pivot cache NamedRange
public string RangeName { get; set; }
Property Value
RefreshDate
public DateTime RefreshDate { get; set; }
Property Value
RefreshedBy
public string RefreshedBy { get; set; }
Property Value
RefreshedVersion
Specifies the version of the application that last refreshed the cache. This attribute depends on whether the application exposes mechanisms via the user interface whereby the end-user can refresh the cache.
public int RefreshedVersion { get; set; }
Property Value
SourceRange
public IXLSRange SourceRange { get; }
Property Value
SourceType
public DataSourceType SourceType { get; }
Property Value
SupportAdvancedDrill
public bool SupportAdvancedDrill { get; set; }
Property Value
Methods
Clone(object)
public object Clone(object parent)
Parameters
parent
object
Returns
Clone(object, Dictionary<string, string>)
public object Clone(object parent, Dictionary<string, string> hashNewNames)
Parameters
parent
objecthashNewNames
Dictionary<string, string>
Returns
InRange(IXLSRange, XlsWorksheet, int, int, bool)
public static bool InRange(IXLSRange sourceRange, XlsWorksheet worksheet, int index, int count, bool isRow)
Parameters
sourceRange
IXLSRangeworksheet
XlsWorksheetindex
intcount
intisRow
bool