CubeFields Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of all CubeField objects in a PivotTable report that is based on an OLAP cube.
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
- Attributes
- Implements
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.
Properties
_Default[Object] |
Reserved for internal use. |
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Item[Object] |
Returns a single object from a collection. |
Parent |
Returns the parent object for the specified object. |
Methods
AddSet(String, String) |
Adds a new CubeField object to the CubeFields collection. |
GetEnumerator() | |
GetMeasure(Object, XlConsolidationFunction, Object) |
Given an attribute hierarchy, returns an implicit measure for the given function that corresponds to this attribute. If an “implicit measure” does not exist, a new implicit measure is created and added to the CubeFields collection. |