AttributeTable 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
属性表是与特定类型、成员和依赖项关联的元数据属性的只读集合。
public ref class AttributeTable sealed
public sealed class AttributeTable
type AttributeTable = class
Public NotInheritable Class AttributeTable
- 继承
-
AttributeTable
注解
此表是使用该 AttributeTableBuilder 表创建的,并由该表 MetadataStore使用。
创建 AttributeTable 时使用 AttributeTableBuilder 和由 MetadataStore..
属性
| 名称 | 说明 |
|---|---|
| AttributedTypes |
返回具有属性重写、属性、成员或类型本身的所有类型的枚举。 |
方法
| 名称 | 说明 |
|---|---|
| ContainsAttributes(Type) |
确定此表是否包含给定类型的元数据。 |
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetCustomAttributes(Type, DependencyProperty) |
返回为指定类型的指定依赖项提供的所有属性的枚举。 |
| GetCustomAttributes(Type, MemberDescriptor) |
返回为指定类型的指定成员提供的所有属性的枚举。 |
| GetCustomAttributes(Type, MemberInfo) |
返回为指定类型的指定成员提供的所有属性的枚举。 |
| GetCustomAttributes(Type, String) |
返回为指定类型的指定成员提供的所有属性的枚举。 |
| GetCustomAttributes(Type) |
返回为指定类型提供的所有类级属性的枚举。 |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |