Share via


CubeFields 接口

定义

基于 OLAP 多维数据集的数据透视表中的所有 CubeField 对象的集合。

public interface class CubeFields : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002444D-0000-0000-C000-000000000046")]
public interface CubeFields : System.Collections.IEnumerable
Public Interface CubeFields
Implements IEnumerable
属性
实现

注解

每个 CubeField 对象代表多维数据集的层次结构或度量字段。

CubeFields使用 属性可返回 CubeFields 集合。

使用 CubeFields (index) (其中 index 是多维数据集字段的索引号)返回单个 CubeField 对象。

属性

_Default[Object]

仅供内部使用。

Application

返回一个 Application 对象,该对象代表 Microsoft Excel 应用程序。

Count

返回集合中对象的数目。

Creator

返回一个 32 位整数,该整数指示在其中创建了此对象的应用程序。

Item[Object]

从集合中返回一个对象。

Parent

返回指定对象的父对象。

方法

AddSet(String, String)

将新 CubeField 对象添加到 CubeFields 集合。

GetEnumerator()

基于 OLAP 多维数据集的数据透视表中的所有 CubeField 对象的集合。

GetMeasure(Object, XlConsolidationFunction, Object)

给定属性层次结构,返回对应于此属性的给定函数的隐式度量值。 如果“隐式度量值”不存在,则会创建一个新的隐式度量值并将其添加到集合中 CubeFields

适用于