ViewDataDictionary<TModel> Class

Represents a container that is used to pass strongly typed data between a controller and a view.

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

generic<typename TModel>
where TModel : ref class
public ref class ViewDataDictionary : public ViewDataDictionary

Type Parameters


The type of the model.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions