AreaAttribute AreaAttribute AreaAttribute Class

Definition

Specifies the area containing a controller or action.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class AreaAttribute : Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute
type AreaAttribute = class
    inherit RouteValueAttribute
Public Class AreaAttribute
Inherits RouteValueAttribute
Inheritance
Attributes

Constructors

AreaAttribute(String) AreaAttribute(String) AreaAttribute(String)

Initializes a new AreaAttribute instance.

Properties

RouteKey RouteKey RouteKey Inherited from RouteValueAttribute
RouteValue RouteValue RouteValue Inherited from RouteValueAttribute

Applies to