AreaAttribute Třída

Definice

Určuje oblast obsahující ovladač nebo akci.

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
Dědičnost
Atributy

Konstruktory

Name Description
AreaAttribute(String)

Inicializuje novou AreaAttribute instanci.

Vlastnosti

Name Description
RouteKey

Klíč hodnoty trasy.

(Zděděno od RouteValueAttribute)
RouteValue

Hodnota trasy. Pokud null nebo je prázdná, vyžaduje, aby chyběla hodnota trasy přidružená RouteKey k nebo null.

(Zděděno od RouteValueAttribute)

Platí pro