Count

GridNameCollection.Count property

public int Count { get; }

也可以看看