System.Web.Mvc Namespace


.NET Framework Class Library
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)
Syntax

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class ActionNameAttribute _
    Inherits ActionNameSelectorAttribute
Visual Basic (Usage)
Dim instance As ActionNameAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class ActionNameAttribute : ActionNameSelectorAttribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, Inherited = true)]
public ref class ActionNameAttribute sealed : public ActionNameSelectorAttribute
Remarks

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

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    System.Web.Mvc..::.ActionNameSelectorAttribute
      System.Web.Mvc..::.ActionNameAttribute
Thread Safety

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

Reference

Tags :


Page view tracker