ControllerBase.ViewData Property

 

Gets or sets the dictionary for view data.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public ViewDataDictionary ViewData { get; set; }

Property Value

Type: System.Web.Mvc.ViewDataDictionary

The dictionary for the view data.

Return to top
Show: