Partager via


ControllerDescriptor.GetCustomAttributes Method

Include Protected Members
Include Inherited Members

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.

Overload List

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

Remarks

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

See Also

Reference

ControllerDescriptor Class

System.Web.Mvc Namespace