[GridPivotItemCollection.Count property public int Count { get; } 也可以看看 class GridPivotItemCollection 命名空间 Aspose.Cells.GridDesktop.Data 部件 Aspose.Cells.GridDesktop]