[]
Adds a new ISlicerCache object to the collection.
ISlicerCache Add(ITable table, string columnName, string name = null, bool create = true)
Function Add(table As ITable, columnName As String, Optional name As String = Nothing, Optional create As Boolean = True) As ISlicerCache
Type | Name | Description |
---|---|---|
ITable | table | The data source that the new ISlicerCache will be based on. |
string | columnName | The name of the column in the table to filter by. |
string | name | The name Spread uses to reference the slicer cache (the value of the Name property). If omitted, Spread will generate a name. |
bool | create |
|
Type | Description |
---|---|
ISlicerCache | A ISlicerCache value represents the created slicer cache. |
Adds a new ISlicerCache object to the collection.
ISlicerCache Add(ITable table, int columnIndex, string name = null, bool create = true)
Function Add(table As ITable, columnIndex As Integer, Optional name As String = Nothing, Optional create As Boolean = True) As ISlicerCache
Type | Name | Description |
---|---|---|
ITable | table | The data source that the new ISlicerCache will be based on. |
int | columnIndex | The relative index of the column in the table to filter by. |
string | name | The name Spread uses to reference the slicer cache (the value of the Name property). If omitted, Spread will generate a name. |
bool | create |
|
Type | Description |
---|---|
ISlicerCache | A ISlicerCache value represents the created slicer cache. |