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)

public class ViewDataDictionary<TModel> : ViewDataDictionary
where TModel : class

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.