AreaAttribute Klasa

Definicja

Określa obszar zawierający kontroler lub akcję.

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
Dziedziczenie
Atrybuty

Konstruktory

AreaAttribute(String)

Inicjuje nowe AreaAttribute wystąpienie.

Właściwości

RouteKey

Klucz wartości trasy.

(Odziedziczone po RouteValueAttribute)
RouteValue

Wartość trasy. Jeśli null wartość trasy jest pusta lub jest pusta, wymagana jest wartość trasy skojarzona z elementem RouteKey lub null.

(Odziedziczone po RouteValueAttribute)

Dotyczy