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. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應