RouteAreaAttribute Constructor

 

Initializes a new instance of the RouteAreaAttribute class.

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

NameDescription
System_CAPS_pubmethodRouteAreaAttribute()

Initializes a new instance of the RouteAreaAttribute class.

System_CAPS_pubmethodRouteAreaAttribute(String)

Initializes a new instance of the RouteAreaAttribute class.

Return to top

RouteAreaAttribute Constructor ()

Initializes a new instance of the RouteAreaAttribute class.

new : unit -> RouteAreaAttribute

An attempt will be made to infer the area name from the target controller's namespace.

Return to top

RouteAreaAttribute Constructor (String)

Initializes a new instance of the RouteAreaAttribute class.

new : 
        areaName:string -> RouteAreaAttribute

Parameters

areaName
Type: System.String

The name of the area. If the value is null, an attempt will be made to infer the area name from the target controller's namespace.

Return to top
Show: