Partager via


PivotTable.HiddenFields Property

Returns an object that represents either a single PivotTable field (a PivotField object) or a collection of all the fields (a PivotFields object) that are currently not shown as row, column, page, or data fields. Read-only.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property HiddenFields ( _
    Index As Object _
) As Object
    Get
'Usage
Dim instance As PivotTable
Dim Index As Object
Dim value As Object

value = instance.HiddenFields(Index)
Object this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.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

Type: System.Object

Remarks

For OLAP data sources, this property always returns an empty collection.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace