AreaAttribute Sınıf

Tanım

Denetleyici veya eylem içeren alanı belirtir.

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
Devralma
Öznitelikler

Oluşturucular

AreaAttribute(String)

Yeni bir örnek AreaAttribute başlatıyor.

Özellikler

RouteKey

Yol değeri anahtarı.

(Devralındığı yer: RouteValueAttribute)
RouteValue

Rota değeri. Null veya boş ise, ilişkili rota değerinin RouteKey eksik veya nullolması gerekir.

(Devralındığı yer: RouteValueAttribute)

Şunlara uygulanır