PivotTable.VisibleFields[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an object that represents either a single field in a PivotTable report (a PivotField object) or a collection of all the visible fields (a PivotFields object). Visible fields are shown as row, column, page, or data fields. Read-only.
public:
property System::Object ^ VisibleFields[System::Object ^] { System::Object ^ get(System::Object ^ Index); };
public object VisibleFields[object Index] { get; }
Public ReadOnly Property VisibleFields(Optional Index As Object) As Object
Parameters
- Index
- Object
Optional Object. The name or number of the field to be returned (can be an array to specify more than one field).
Property Value
Remarks
For OLAP data sources there are no hidden fields, and this property returns all the fields in the PivotTable cache.