[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.ClearFilters

ClearFilters Method

ClearFilters(IPivotTable, int, IPivotFilter)

Initializes a new command to clear filter the IPivotTable by a specific IPivotField.

Declaration
public static Command ClearFilters(IPivotTable pivotTable, int pivotFieldIndex, IPivotFilter pivotFilter)
Public Shared Function ClearFilters(pivotTable As IPivotTable, pivotFieldIndex As Integer, pivotFilter As IPivotFilter) As Command
Parameters
Type Name Description
IPivotTable pivotTable

The IPivotTable object.

int pivotFieldIndex

The index of IPivotField

IPivotFilter pivotFilter

The GrapeCity.Spreadsheet.PivotTables.PivotFilterobject.

Returns
Type Description
Command

The clear filter command.