ActionContextAttribute Class

Definition

Specifies that a controller property should be set with the current ActionContext when creating the controller. The property must have a public set method.

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
Inheritance
ActionContextAttribute
Attributes

Constructors

ActionContextAttribute()

Applies to