This documentation is archived and is not being maintained.

TypeBuilder.GetCustomAttributes Method

Returns the custom attributes defined for this type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method GetCustomAttributes(Boolean) Returns all the custom attributes defined for this type. (Overrides MemberInfo.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns all the custom attributes of the current type that are assignable to a specified type. (Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)
Top
Show: