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
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type AreaAttribute = class
    inherit RouteValueAttribute
Public Class AreaAttribute
Inherits RouteValueAttribute
Inheritance
Attributes

Constructors

AreaAttribute(String)

Initializes a new AreaAttribute instance.

Properties

RouteKey (Inherited from RouteValueAttribute)
RouteValue (Inherited from RouteValueAttribute)

Applies to