ViewDataDictionaryAttribute Klasse

Definition

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

public ref class ViewDataDictionaryAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ViewDataDictionaryAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ViewDataDictionaryAttribute = class
    inherit Attribute
Public Class ViewDataDictionaryAttribute
Inherits Attribute
Vererbung
ViewDataDictionaryAttribute
Attribute

Konstruktoren

ViewDataDictionaryAttribute()

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

Gilt für: