PivotItems 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 the PivotItem objects in a PivotTable field. The items are the individual data entries in a field category.
public interface class PivotItems : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020877-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface PivotItems : System.Collections.IEnumerable
Public Interface PivotItems
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the PivotItems(Object) method to return the PivotItems collection.
Use PivotItems(index
), where index
is the item index number or name, to return a single PivotItem object.
Properties
Application |
Returns an Application object that represents the Microsoft Excel application. Read-only. |
Count |
Returns the number of objects in the collection. Read-only Integer. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator. |
Parent |
Returns the parent object for the specified object. Read-only. |
Methods
Add(String) |
Creates a new PivotTable item. |
GetEnumerator() | |
Item(Object) |
Returns a single object from a collection. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應