ActionContextAttribute クラス

定義

コントローラーの作成時に、コントローラー プロパティを現在 ActionContext の プロパティに設定する必要があることを指定します。 プロパティにはパブリック セット メソッドが必要です。

public ref class ActionContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ActionContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ActionContextAttribute = class
    inherit Attribute
Public Class ActionContextAttribute
Inherits Attribute
継承
ActionContextAttribute
属性

コンストラクター

ActionContextAttribute()

コントローラーの作成時に、コントローラー プロパティを現在 ActionContext の プロパティに設定する必要があることを指定します。 プロパティにはパブリック セット メソッドが必要です。

適用対象