Partager via


CubeFields Interface

A collection of all CubeField objects in a PivotTable report that is based on an OLAP cube.

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

Syntax

'Declaration
<GuidAttribute("0002444D-0000-0000-C000-000000000046")> _
Public Interface CubeFields _
    Inherits IEnumerable
'Usage
Dim instance As CubeFields
[GuidAttribute("0002444D-0000-0000-C000-000000000046")]
public interface CubeFields : IEnumerable

Remarks

Each CubeField object represents a hierarchy or measure field from the cube.

Use the CubeFields property to return the CubeFields collection.

Use CubeFields(index), where index is the cube field’s index number, to return a single CubeField object.

See Also

Reference

CubeFields Members

Microsoft.Office.Interop.Excel Namespace