Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ViewDataDictionary(TModel) Constructor (TModel)

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:
© 2015 Microsoft