ViewDataDictionary<TModel> Constructor (ViewDataDictionary)
Initializes a new instance of the ViewDataDictionary<TModel> class by using the specified view data dictionary.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
viewDataDictionary As ViewDataDictionary _
)
public ViewDataDictionary(
ViewDataDictionary viewDataDictionary
)
public:
ViewDataDictionary(
ViewDataDictionary^ viewDataDictionary
)
Parameters
- viewDataDictionary
Type: System.Web.Mvc.ViewDataDictionary
An existing view data dictionary to copy into this instance.
See Also
Reference
ViewDataDictionary<TModel> Class