[RowCollection.Count property 获取此集合中的行数。 public int Count { get; } 也可以看看 class RowCollection 命名空间 Aspose.Cells 部件 Aspose.Cells]