AreaAttribute AreaAttribute AreaAttribute AreaAttribute Class

Definition

Specifies the area containing a controller or action.

public ref class AreaAttribute : Microsoft::AspNetCore::Mvc::Routing::RouteValueAttribute
[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) AreaAttribute(String)

Initializes a new AreaAttribute instance.

Properties

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

Applies to