RouteAreaAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RouteAreaAttribute() |
Initializes a new instance of the RouteAreaAttribute class. |
RouteAreaAttribute(String) |
Initializes a new instance of the RouteAreaAttribute class. |
RouteAreaAttribute()
Initializes a new instance of the RouteAreaAttribute class.
public RouteAreaAttribute ();
Public Sub New ()
Applies to
RouteAreaAttribute(String)
Initializes a new instance of the RouteAreaAttribute class.
public RouteAreaAttribute (string areaName);
new System.Web.Mvc.RouteAreaAttribute : string -> System.Web.Mvc.RouteAreaAttribute
Public Sub New (areaName As String)
Parameters
- areaName
- 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.