ViewDataDictionary Constructor (ViewDataDictionary)

Initializes a new instance of the ViewDataDictionary class by using the specified dictionary.

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

public ViewDataDictionary(
	ViewDataDictionary dictionary
)

Parameters

dictionary
Type: System.Web.Mvc.ViewDataDictionary
The dictionary.

ExceptionCondition
ArgumentNullException

The dictionary parameter is null.

Show: