ViewContext.ViewData Property

Definition

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.

Applies to