語言

TemplateGroupCollection.Count 屬性

定義

取得集合中的物件數量 TemplateGroup 。

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

屬性值

收藏中的物件數量 TemplateGroup 。

備註

此 Count 性質通常用於在迭代集合物件時決定上界索引。 由於集合索引為零基,第一個元素位於索引 0 ,最後一個元素位於索引 Count-1。

適用於

另請參閱