ViewMasterPage<TModel>.ViewData Property
Gets the view data.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public ReadOnly Property ViewData As ViewDataDictionary(Of TModel)
Get
public ViewDataDictionary<TModel> ViewData { get; }
public:
property ViewDataDictionary<TModel>^ ViewData {
ViewDataDictionary<TModel>^ get ();
}
Property Value
Type: System.Web.Mvc.ViewDataDictionary<TModel>
The view data.