DesignerRegionCollection.Count 属性

定义

获取集合中 DesignerRegion 对象的数量。

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

属性值

集合中 DesignerRegion 对象的数目。

注解

属性 Count 通常用于在循环访问集合中的对象时确定上限索引。 由于集合索引从零开始,因此第一个元素位于索引 0 处,最后一个元素位于索引 Count-1处。

适用于

另请参阅