Share via


RouteAreaAttribute.AreaPrefix Property

 

Gets the URL prefix to apply to the routes of this area. Defaults to the area's name.

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

Syntax

public string AreaPrefix { get; set; }
public:
property String^ AreaPrefix {
    String^ get();
    void set(String^ value);
}
member AreaPrefix : string with get, set
Public Property AreaPrefix As String

Property Value

Type: System.String

The URL prefix to apply to the routes of this area.

See Also

RouteAreaAttribute Class
System.Web.Mvc Namespace

Return to top