Partager via


AjaxHelper.ViewData Property

Gets the current view data dictionary.

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

Syntax

'Declaration
Public ReadOnly Property ViewData As ViewDataDictionary
    Get
public ViewDataDictionary ViewData { get; }
public:
property ViewDataDictionary^ ViewData {
    ViewDataDictionary^ get ();
}

Property Value

Type: System.Web.Mvc.ViewDataDictionary
The view data dictionary.

Remarks

The ViewDataDictionary object contains the data that is required to render a view.

See Also

Reference

AjaxHelper Class

System.Web.Mvc Namespace