ControllerContextAttribute Classe

Définition

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

public ref class ControllerContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ControllerContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ControllerContextAttribute = class
    inherit Attribute
Public Class ControllerContextAttribute
Inherits Attribute
Héritage
ControllerContextAttribute
Attributs

Constructeurs

ControllerContextAttribute()

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

S’applique à