Export (0) Print
Expand All

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)

public ViewDataDictionary(
	TModel model
)

Parameters

model
Type: TModel
The data model to use for the view.
Show:
© 2014 Microsoft