TemplateGroupCollection.Count TemplateGroupCollection.Count TemplateGroupCollection.Count TemplateGroupCollection.Count Property

定義

取得集合中 TemplateGroup 物件的數目。Gets the number of TemplateGroup objects in the collection.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

屬性值

集合中的 TemplateGroup 物件數目。The number of TemplateGroup objects in the collection.

實作

備註

Count逐一查看集合中的物件時, 通常會使用屬性來判斷上限的索引。The Count property generally is used to determine the upper boundary index when iterating through objects in the collection. 因為集合索引是以零為基底, 所以第一個元素位於0 index, 而最後一個元素位於Count-1index。Because the collection indexes are zero-based, the first element is at index 0 and the last element is at index Count-1.

適用於

另請參閱