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 設定控制器屬性。 屬性必須具有公用集合方法。

適用於