語言

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。

適用於