ViewDataDictionary<TModel> Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the ViewDataDictionary<TModel> class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ViewDataDictionary<TModel>() Initializes a new instance of the ViewDataDictionary<TModel> class.
Public method ViewDataDictionary<TModel>(TModel) Initializes a new instance of the ViewDataDictionary<TModel> class by using the specified model.
Public method ViewDataDictionary<TModel>(ViewDataDictionary) Initializes a new instance of the ViewDataDictionary<TModel> class by using the specified view data dictionary.

Top

See Also

Reference

ViewDataDictionary<TModel> Class

System.Web.Mvc Namespace