AttributeTableContainer 类

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

提供 AttributeTable 实例的集合。

继承层次结构

System.Object
  Microsoft.Windows.Design.Metadata.AttributeTableContainer

命名空间:  Microsoft.Windows.Design.Metadata
程序集:  Microsoft.Windows.Design.Extensibility(在 Microsoft.Windows.Design.Extensibility.dll 中)

语法

声明
Public Class AttributeTableContainer
public class AttributeTableContainer
public ref class AttributeTableContainer
type AttributeTableContainer =  class end
public class AttributeTableContainer

AttributeTableContainer 类型公开以下成员。

构造函数

  名称 说明
公共方法 AttributeTableContainer 初始化 AttributeTableContainer 类的新实例。

页首

属性

  名称 说明
公共属性 AttributeTables 获取有关添加的特性表的枚举。

页首

方法

  名称 说明
公共方法 AddAttributeTable 将指定的表添加到当前容器中的特性表集。
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetAttributes(Assembly, Type) 枚举指定程序集的特性。
公共方法 GetAttributes(MemberInfo, Type) 枚举指定成员的自定义特性,包括基成员的继承特性。
公共方法 GetAttributes(Assembly, Type, Func<Object, Object>) 枚举指定程序集的特性。
公共方法 GetAttributes(MemberInfo, Type, Func<Object, Object>) 枚举指定成员的自定义特性,包括基成员的继承特性。
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetLocalAttributes(MemberInfo, Type) 枚举指定成员的自定义特性,包括基成员的继承特性。
公共方法 GetLocalAttributes(MemberInfo, Type, Func<Object, Object>) 枚举指定成员的自定义特性,包括基成员的继承特性。
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

备注

AttributeTableContainer 包含零个或多个特性表。 它为成员、类型和程序集提供特性枚举。 它混合了特性表提供的特性与反射提供的特性。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Windows.Design.Metadata 命名空间