'Declaration
Overloads Function Add( _ ByVal table As ITable, _ ByVal columnIndex As Integer, _ Optional ByVal name As String, _ Optional ByVal create As Boolean _ ) As ISlicerCache
'Usage
Dim instance As ISlicerCaches Dim table As ITable Dim columnIndex As Integer Dim name As String Dim create As Boolean Dim value As ISlicerCache value = instance.Add(table, columnIndex, name, create)
ISlicerCache Add( ITable table, int columnIndex, string name, bool create )
Parameters
- table
- The data source that the new ISlicerCache will be based on.
- columnIndex
- The relative index of the column in the table to filter by.
- name
- The name Spread uses to reference the slicer cache (the value of the ISlicerCache.Name property). If omitted, Spread will generate a name.
- create
true
to create new ISlicerCache object; otherwise, a corresponding ISlicerCache object is reused if it exists.
Return Value
A ISlicerCache value represents the created slicer cache.
null
if the slicer cache cannot be created.