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)

new : 
        model:'TModel -> ViewDataDictionary

Parameters

model
Type: TModel

The data model to use for the view.

Show: