ViewDataDictionary(TModel) Constructor (TModel)
Collapse the table of content
Expand the table of content

ViewDataDictionary<TModel> Constructor (TModel)

Visual Studio 2010

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.

Community Additions

ADD
Show:
© 2016 Microsoft