ConfigurationAttributeSchemaCollection.Count 属性

定义

获取此配置属性架构集合中的配置属性架构数。

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

属性值

对象中的 ConfigurationAttributeSchemaCollection 配置属性架构数。

实现

注解

可以使用 Count 属性来设置循环访问 对象集合的循环的限制。 由于集合是从零开始的,因此请务必使用 Count 减 1 作为循环的上限。

适用于