ViewDataDictionary Constructor

 

Initializes a new instance of the ViewDataDictionary class.

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

NameDescription
System_CAPS_pubmethodViewDataDictionary()

Initializes a new instance of the ViewDataDictionary class.

System_CAPS_pubmethodViewDataDictionary(Object)

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

System_CAPS_pubmethodViewDataDictionary(ViewDataDictionary)

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

Return to top

ViewDataDictionary Constructor ()

Initializes a new instance of the ViewDataDictionary class.

No code example is currently available or this language may not be supported.
Return to top

ViewDataDictionary Constructor (Object)

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

No code example is currently available or this language may not be supported.

Parameters

model
Type: System.Object

The model.

Return to top

ViewDataDictionary Constructor (ViewDataDictionary)

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

No code example is currently available or this language may not be supported.

Parameters

dictionary
Type: System.Web.Mvc.ViewDataDictionary

The dictionary.

Exception Condition
ArgumentNullException

The dictionary parameter is null.

Return to top
Show: