ViewDataDictionary<TModel> Constructor (TModel)
Initializes a new instance of the ViewDataDictionary<TModel> class by using the specified model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
model As TModel _
)
public ViewDataDictionary(
TModel model
)
public:
ViewDataDictionary(
TModel model
)
Parameters
- model
Type: TModel
The data model to use for the view.
See Also
Reference
ViewDataDictionary<TModel> Class