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