ActionNameAttribute Class
TOC
Collapse the table of content
Expand the table of content

ActionNameAttribute Class

 

Represents an attribute that is used for the name of an action.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)


[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, 
	Inherited = true)]
public sealed class ActionNameAttribute : ActionNameSelectorAttribute

NameDescription
System_CAPS_pubmethodActionNameAttribute(String)

Initializes a new instance of the ActionNameAttribute class.

NameDescription
System_CAPS_pubpropertyName

Gets or sets the name of the action.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodIsValidName(ControllerContext, String, MethodInfo)

Determines whether the action name is valid within the specified controller context.(Overrides ActionNameSelectorAttribute.IsValidName(ControllerContext, String, MethodInfo).)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

For more information about using attributes, see .

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft