更新:2007 年 11 月
表示模型成员集合。
命名空间: Microsoft.Windows.Design.Model
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public MustInherit Class ModelMemberCollection(Of TItemType, TFindType) _
Implements IEnumerable(Of TItemType), IEnumerable
用法
Dim instance As ModelMemberCollection(Of TItemType, TFindType)
public abstract class ModelMemberCollection<TItemType, TFindType> : IEnumerable<TItemType>,
IEnumerable
generic<typename TItemType, typename TFindType>
public ref class ModelMemberCollection abstract : IEnumerable<TItemType>,
IEnumerable
JScript 不支持泛型类型或方法。
类型参数
- TItemType
集合所表示的项的类型。
- TFindType
应当用作 Find 方法中的键的类型。
备注
ModelMemberCollection<TItemType, TFindType> 是 ModelPropertyCollection 和 ModelEventCollection 所派生自的抽象基类。
继承层次结构
System.Object
Microsoft.Windows.Design.Model.ModelMemberCollection<TItemType, TFindType>
Microsoft.Windows.Design.Model.ModelEventCollection
Microsoft.Windows.Design.Model.ModelPropertyCollection
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
另请参见
参考
ModelMemberCollection<TItemType, TFindType> 成员
Microsoft.Windows.Design.Model 命名空间