Share via


AreaAttribute(String) Constructor

Definition

Initializes a new AreaAttribute instance.

public:
 AreaAttribute(System::String ^ areaName);
public AreaAttribute (string areaName);
new Microsoft.AspNetCore.Mvc.AreaAttribute : string -> Microsoft.AspNetCore.Mvc.AreaAttribute
Public Sub New (areaName As String)

Parameters

areaName
String

The area containing the controller or action.

Applies to