ActionContextAttribute Třída

Definice

Určuje, že vlastnost kontroleru by měla být při vytváření kontroleru nastavena na aktuální ActionContext hodnotu. Vlastnost musí mít metodu veřejné sady.

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
Dědičnost
ActionContextAttribute
Atributy

Konstruktory

ActionContextAttribute()

Určuje, že vlastnost kontroleru by měla být při vytváření kontroleru nastavena na aktuální ActionContext hodnotu. Vlastnost musí mít metodu veřejné sady.

Platí pro