Export (0) Print
Expand All

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)

'Declaration
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class ActionNameAttribute _
	Inherits ActionNameSelectorAttribute
'Usage
Dim instance As ActionNameAttribute

The ActionNameAttribute type exposes the following members.

  NameDescription
Public methodActionNameAttributeInitializes a new instance of the ActionNameAttribute class.
Top

  NameDescription
Public propertyNameGets or sets the name of the action.
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodIsValidNameDetermines whether the action name is valid within the specified controller context. (Overrides ActionNameSelectorAttribute.IsValidName(ControllerContext, String, MethodInfo).)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

For more information about using attributes, see Extending Metadata Using Attributes.

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