[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISlicerCaches.Add

Add Method

Add(object, string, string)

Adds a new ISlicerCache object to the collection.

Declaration
ISlicerCache Add(object source, string sourceField, string name = null)
Function Add(source As Object, sourceField As String, Optional name As String = Nothing) As ISlicerCache
Parameters
Type Name Description
object source

The data source that the new ISlicerCache will be based on.

string sourceField

The name of the field in the data source to filter by.

string name

The name uses to reference the slicer cache (the value of the ISlicerCache.Name property).

Returns
Type Description
ISlicerCache

Returns ISlicerCache.