ViewResultBase.ViewData Property

Definition

Gets or sets the view data ViewDataDictionary object for this result.

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 view data.

Applies to