Dil

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

Veri Akışı Adı Description
AreaAttribute(String)

Yeni AreaAttribute bir örnek başlatır.

Özellikler

Veri Akışı Adı Description
RouteKey

Yol değeri anahtarı.

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

Yol değeri. veya boşsa null , ile RouteKey ilişkili yol değerinin eksik nullveya olmasını gerektirir.

(Devralındığı yer: RouteValueAttribute)

Şunlara uygulanır