共用方式為


ModelItemCollection.ICollection.Count 屬性

如需這個成員的描述,請參閱 ICollection.Count

命名空間:  Microsoft.Windows.Design.Model
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Private ReadOnly Property Count As Integer
    Implements ICollection.Count
    Get
int ICollection.Count { get; }
private:
virtual property int Count {
    int get () sealed = ICollection::Count::get;
}
private abstract Count : int
private override Count : int
JScript 不支援明確介面實作。

屬性值

型別:System.Int32
ICollection 中所包含的元素數。

實作

ICollection.Count

備註

這個成員是明確介面成員實作, 只有在 ModelItemCollection 執行個體轉換成 ICollection 介面時,才能使用這個成員。

.NET Framework 安全性

請參閱

參考

ModelItemCollection 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構