PivotField.HiddenItems Property

Returns an object that represents either a single hidden PivotTable item (a PivotItem object) or a collection of all the hidden items (a PivotItems object) in the specified field. Read-only.

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

Syntax

'Declaration
ReadOnly Property HiddenItems ( _
    Index As Object _
) As Object
    Get
'Usage
Dim instance As PivotField
Dim Index As Object
Dim value As Object

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

Parameters

  • Index
    Type: System.Object

    Optional Object. The number or name of the item to be returned (can be an array to specify more than one item).

Property Value

Type: System.Object

Remarks

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

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace