Share via


RouteAreaAttribute.AreaName Property

Definition

Gets the area name to set for all the routes defined in the controller. If the value is null, an attempt will be made to infer the area name from the target controller's namespace.

public string AreaName { get; }
member this.AreaName : string
Public ReadOnly Property AreaName As String

Property Value

The area name to set for all the routes defined in the controller.

Applies to