AttributeTable.GetCustomAttributes 方法

包括受保护的成员
包括继承的成员

返回提供给指定参数的所有特性的枚举。

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表

  名称 说明
公共方法 GetCustomAttributes(Assembly) 返回提供给指定的程序集的所有特性的枚举。
公共方法 GetCustomAttributes(Type) 返回提供给指定类型的所有特性的枚举。
公共方法 GetCustomAttributes(Type, String) 返回提供给指定的类型和成员名称的所有特性的枚举。

页首

请参见

参考

AttributeTable 类

Microsoft.Windows.Design.Metadata 命名空间