Count

RowCollection.Count property

获取此集合中的行数。

public int Count { get; }

也可以看看