PivotCache.Version Property
Returns the version of Microsoft Excel in which the PivotCache was created. Read-only.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property Version As XlPivotTableVersionList
Get
'Usage
Dim instance As PivotCache
Dim value As XlPivotTableVersionList
value = instance.Version
XlPivotTableVersionList Version { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlPivotTableVersionList
XlPivotTableVersionList
Remarks
This property returns the version of the PivotTable. Default settings and behaviors depend on the version to allow for old PivotTable object model code to run in 1st_Excel12 with the same behaviors when the version of the PivotTable corresponds to the version of Excel for which the code was written.