共用方式為


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

Top

See Also

Reference

ActionDescriptor Class

System.Web.Mvc Namespace