PropertyCollection.Count 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得此集合中的屬性數量。
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。