AreaAttribute Clase

Definición

Especifica el área que contiene un controlador o una acción.

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
Herencia
Atributos

Constructores

AreaAttribute(String)

Inicializa una nueva instancia de AreaAttribute.

Propiedades

RouteKey

Clave de valor de ruta.

(Heredado de RouteValueAttribute)
RouteValue

Valor de ruta. Si null o está vacío, requiere que falte el valor de ruta asociado RouteKey a o null.

(Heredado de RouteValueAttribute)

Se aplica a