Share via


ViewDataDictionaryAttribute Class

Definition

Specifies that a controller property should be set with the current ViewDataDictionary when creating the controller. The property must have a public set method.

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
Inheritance
ViewDataDictionaryAttribute
Attributes

Constructors

ViewDataDictionaryAttribute()

Applies to