RouteAreaAttribute Constructor
Initializes a new instance of the RouteAreaAttribute class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | RouteAreaAttribute() | Initializes a new instance of the RouteAreaAttribute class. |
![]() | RouteAreaAttribute(String) | Initializes a new instance of the RouteAreaAttribute class. |
RouteAreaAttribute Constructor ()
Initializes a new instance of the RouteAreaAttribute class.
An attempt will be made to infer the area name from the target controller's namespace.
RouteAreaAttribute Constructor (String)
Initializes a new instance of the RouteAreaAttribute class.
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.
Show:
