ControllerBase.ViewData 属性

定义

获取或设置视图数据的字典。

public System.Web.Mvc.ViewDataDictionary ViewData { get; set; }
member this.ViewData : System.Web.Mvc.ViewDataDictionary with get, set
Public Property ViewData As ViewDataDictionary

属性值

视图数据的字典。

适用于