ViewDataDictionaryAttribute 类

定义

指定在创建控制器时,控制器属性应设置为 ViewDataDictionary 当前 。 属性必须具有公共集方法。

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()

适用于