RouteAreaAttribute Constructors

Definition

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.

Applies to