语言

PropertyCollection.Count 属性

定义

获取此集合中的属性数。

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

属性值

此集合中的属性数。

实现

例外

调用基础接口期间发生错误。

该目录无法报告属性数。

注解

Internet Information Services(IIS)和 WinNT 提供程序目前不支持 Count,因此每个提供程序都会引发NotSupportedException。

适用于