ControllerDescriptor.GetCustomAttributes Method

Visual Studio 2010

Retrieves 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) Retrieves custom attributes that are defined for this member, excluding named attributes.
Public method GetCustomAttributes(Type, Boolean) Retrieves custom attributes of a specified type that are defined for this member, excluding named attributes.
Top

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

Show: