Sprache

ActionContextAttribute Klasse

Definition

Gibt an, dass beim Erstellen des Controllers eine Controllereigenschaft mit dem aktuellen ActionContext festgelegt werden soll. Die -Eigenschaft muss über eine öffentliche Set-Methode verfügen.

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
Vererbung
ActionContextAttribute
Attribute

Konstruktoren

Name Beschreibung
ActionContextAttribute()

Gibt an, dass beim Erstellen des Controllers eine Controllereigenschaft mit dem aktuellen ActionContext festgelegt werden soll. Die -Eigenschaft muss über eine öffentliche Set-Methode verfügen.

Gilt für: