Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the view data.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property ViewData As ViewDataDictionary(Of TModel)
Get
Set
public ViewDataDictionary<TModel> ViewData { get; set; }
public:
property ViewDataDictionary<TModel>^ ViewData {
ViewDataDictionary<TModel>^ get ();
void set (ViewDataDictionary<TModel>^ value);
}
Property Value
Type: System.Web.Mvc.ViewDataDictionary<TModel>
The view data.