Udostępnij za pośrednictwem


ReflectedActionDescriptor.GetCustomAttributes Method

Include Protected Members
Include Inherited Members

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

Top

Remarks

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

See Also

Reference

ReflectedActionDescriptor Class

System.Web.Mvc Namespace