Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Gets the strongly typed version of the view data dictionary.
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 strongly typed data dictionary of the view.
Remarks
The ViewDataDictionary<TModel> object contains the data that is required in order to render a strongly typed view.