Share via


HtmlHelper<TModel>.ViewData Property

Definition

Gets the strongly typed view data dictionary.

public System.Web.Mvc.ViewDataDictionary<TModel> ViewData { get; }
member this.ViewData : System.Web.Mvc.ViewDataDictionary<'Model>
Public ReadOnly Property ViewData As ViewDataDictionary(Of TModel)

Property Value

The strongly typed view data dictionary.

Applies to