Compartilhar via


PivotItem.ChildItems Property

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

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

Syntax

'Declaration
ReadOnly Property ChildItems ( _
    Index As Object _
) As Object
    Get
'Usage
Dim instance As PivotItem
Dim Index As Object
Dim value As Object

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

Parameters

  • Index
    Type: System.Object

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

Property Value

Type: System.Object

Remarks

This property is not available for OLAP data sources.

See Also

Reference

PivotItem Interface

PivotItem Members

Microsoft.Office.Interop.Excel Namespace