Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AjaxHelper<TModel>.ViewData Property

Gets the strongly typed version of the view data dictionary.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public ViewDataDictionary<TModel> ViewData { get; }

Property Value

Type: System.Web.Mvc.ViewDataDictionary<TModel>
The strongly typed data dictionary of the view.

The ViewDataDictionary<TModel> object contains the data that is required in order to render a strongly typed view.

© 2015 Microsoft