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

適用於