AreaAttribute クラス

定義

コントローラーまたはアクションを含む領域を指定します。

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
継承
属性

コンストラクター

名前 説明
AreaAttribute(String)

新しい AreaAttribute インスタンスを初期化します。

プロパティ

名前 説明
RouteKey

ルート値キー。

(継承元 RouteValueAttribute)
RouteValue

ルート値。 または 空の場合 null は、 に関連付けられている RouteKey ルート値が不足しているか、 が null必要です。

(継承元 RouteValueAttribute)

適用対象