ReflectedControllerDescriptor.GetCustomAttributes Method

Visual Studio 2010

Returns an array of custom attributes that are defined for this member, excluding named attributes.

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 an array of custom attributes that are defined for this member, excluding named attributes. (Overrides ControllerDescriptor.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns an array of custom attributes that are defined for this member, identified by type. (Overrides ControllerDescriptor.GetCustomAttributes(Type, Boolean).)
Top

If there are no custom attributes, this method returns an empty array.

Community Additions

ADD
Show: