ActionContextAttribute Classe

Définition

Spécifie qu’une propriété de contrôleur doit être définie avec le actuel ActionContext lors de la création du contrôleur. La propriété doit avoir une méthode d’ensemble public.

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
Héritage
ActionContextAttribute
Attributs

Constructeurs

ActionContextAttribute()

Spécifie qu’une propriété de contrôleur doit être définie avec le actuel ActionContext lors de la création du contrôleur. La propriété doit avoir une méthode d’ensemble public.

S’applique à