Partager via


ReflectedControllerDescriptor.GetCustomAttributes Method

Include Protected Members
Include Inherited Members

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.

Overload List

  Name Description
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

Remarks

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

See Also

Reference

ReflectedControllerDescriptor Class

System.Web.Mvc Namespace