Share via


ControllerBase.ViewData Property

Definition

Gets or sets the dictionary for view data.

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

Property Value

The dictionary for the view data.

Applies to