'Declaration
Overloads Function Add( _ ByVal table As ITable, _ ByVal columnName As String, _ Optional ByVal name As String, _ Optional ByVal create As Boolean _ ) As ISlicerCache
'Usage
Dim instance As ISlicerCaches Dim table As ITable Dim columnName As String Dim name As String Dim create As Boolean Dim value As ISlicerCache value = instance.Add(table, columnName, name, create)
ISlicerCache Add( ITable table, string columnName, string name, bool create )
Parameters
- table
- The data source that the new ISlicerCache will be based on.
- columnName
- The name 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.