共用方式為


ModelItemCollection.Count 屬性

在衍生類別中覆寫時,取得集合中的項目計數。

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

語法

'宣告
Public MustOverride ReadOnly Property Count As Integer
    Get
public abstract int Count { get; }
public:
virtual property int Count {
    int get () abstract;
}
abstract Count : int
abstract function get Count () : int

屬性值

型別:System.Int32
整數,表示集合中的項目數目。

實作

ICollection<T>.Count

.NET Framework 安全性

請參閱

參考

ModelItemCollection 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構