ActionNameAttribute Constructor (String)

 

Initializes a new instance of the ActionNameAttribute class.

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

Syntax

public ActionNameAttribute(
    string name
)
public:
ActionNameAttribute(
    String^ name
)
new : 
        name:string -> ActionNameAttribute
Public Sub New (
    name As String
)

Parameters

Exceptions

Exception Condition
ArgumentException

The name parameter is null or empty.

See Also

ActionNameAttribute Class
System.Web.Mvc Namespace

Return to top