PivotFilter Members

Include Protected Members
Include Inherited Members

A PivotFilter is applied to a PivotField object.

The PivotFilter type exposes the following members.

Properties

  Name Description
Public property Active Returns whether the specified PivotFilter() is active. Read-only.
Public property Application When used without an object qualifier, this property returns the Microsoft Office Excel _Application. When used with an object qualifier, this property returns the creator of the specified object. Read-only.
Public property Creator Returns a 32-bit Integer that indicates the application in which this object was created. Read-only.
Public property DataCubeField This property is applicable only to OLAP PivotTables and provides the Value field (PivotField in the Values area) being filtered by for a value filter. Read/write.
Public property DataField This property is applicable only to non-OLAP PivotTables and provides the Value field (PivotField in the Values area) being filtered by for a value filter. Read/write.
Public property Description Provides an optional description for the PivotFilter object. Read-only.
Public property FilterType Specifies the type of filter to be applied. Read-only.
Public property IsMemberPropertyFilter Specifies whether the label filter is based on the PivotItem captions of a member property of the field or on the PivotItem captions of the PivotField itself. Read-only.
Public property MemberPropertyField This property specifies the member property PivotField on which the label filter is based. Read/write.
Public property Name This property provides the option of naming filters for reference. You cannot rely on the index value for accurate reference because this value can change.
Public property Order Specifies the evaluation order of the filter among all Value filters applied to the entire PivotTable. Read/write
Public property Parent Returns the parent for the specified PivotFilter. Read-only.
Public property PivotField Specifies the PivotField to which the filter is applied. Read-only.
Public property Value1 This property is a user-supplied parameter to define a filter for a PivotField. Read/write.
Public property Value2 This property is a user-supplied parameter to define a filter for a PivotField. Read/write.

Top

Methods

  Name Description
Public method Delete Deletes the filter and removes it from the filter collections of the PivotField and the PivotTable.

Top

See Also

Reference

PivotFilter Interface

Microsoft.Office.Interop.Excel Namespace