ViewDataDictionaryAttribute Класс

Определение

Указывает, что при создании контроллера свойство контроллера должно быть задано с текущим ViewDataDictionary значением . Свойство должно иметь открытый метод set.

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
Наследование
ViewDataDictionaryAttribute
Атрибуты

Конструкторы

ViewDataDictionaryAttribute()

Указывает, что при создании контроллера свойство контроллера должно быть задано с текущим ViewDataDictionary значением . Свойство должно иметь открытый метод set.

Применяется к