語言

DesignerAutoFormatCollection.Count 屬性

定義

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

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

屬性值

收藏中的物件數量 DesignerAutoFormat 。

備註

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

適用於

另請參閱