ViewContext.ViewData Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the view data that is passed to the view.
public virtual System.Web.Mvc.ViewDataDictionary ViewData { get; set; }
member this.ViewData : System.Web.Mvc.ViewDataDictionary with get, set
Public Overridable Property ViewData As ViewDataDictionary
Property Value
The view data.