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 设计器扩展性体系结构