IPivotCaches.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
SourceType As XlPivotTableSourceType, _
SourceData As Object _
) As PivotCache
'Usage
Dim instance As IPivotCaches
Dim SourceType As XlPivotTableSourceType
Dim SourceData As Object
Dim returnValue As PivotCache
returnValue = instance.Add(SourceType, _
SourceData)
PivotCache Add(
XlPivotTableSourceType SourceType,
Object SourceData
)
Parameters
- SourceType
Type: Microsoft.Office.Interop.Excel.XlPivotTableSourceType
- SourceData
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.PivotCache