ActionNameAttribute Class
Represents an attribute that is used for the name of an action.
System.Object
System.Attribute
System.Web.Mvc.ActionNameSelectorAttribute
System.Web.Mvc.ActionNameAttribute
System.Attribute
System.Web.Mvc.ActionNameSelectorAttribute
System.Web.Mvc.ActionNameAttribute
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ActionNameAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
ActionNameAttribute | Initializes a new instance of the ActionNameAttribute class. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Attribute.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Attribute.) |
|
GetType | (Inherited from Object.) |
|
IsDefaultAttribute | (Inherited from Attribute.) |
|
IsValidName | Determines whether the action name is valid within the specified controller context. (Overrides ActionNameSelectorAttribute.IsValidName(ControllerContext, String, MethodInfo).) |
|
Match | (Inherited from Attribute.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
For more information about using attributes, see Extending Metadata Using Attributes.