Share via


RouteAttribute.Name Property

 

Gets or sets the name of the route.

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

Syntax

public string Name { get; set; }
public:
property String^ Name {
    virtual String^ get() sealed;
    virtual void set(String^ value) sealed;
}
abstract Name : string with get, set
override Name : string with get, set
Public Property Name As String

Property Value

Type: System.String

The name of the route

Implements

IRouteInfoProvider.Name

See Also

RouteAttribute Class
System.Web.Mvc Namespace

Return to top