ViewDataDictionary<TModel>::Model Property

Gets or sets the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
property TModel Model {
	TModel get ();
	void set (TModel value);
}

Property Value

Type: TModel
A reference to the data model.
Show: