Share via


ViewDataDictionary Constructors

Definition

Overloads

ViewDataDictionary()

Initializes a new instance of the ViewDataDictionary class.

ViewDataDictionary(Object)

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

ViewDataDictionary(ViewDataDictionary)

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

ViewDataDictionary()

Initializes a new instance of the ViewDataDictionary class.

public ViewDataDictionary ();
Public Sub New ()

Applies to

ViewDataDictionary(Object)

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

public ViewDataDictionary (object model);
new System.Web.Mvc.ViewDataDictionary : obj -> System.Web.Mvc.ViewDataDictionary
Public Sub New (model As Object)

Parameters

model
Object

The model.

Applies to

ViewDataDictionary(ViewDataDictionary)

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

public ViewDataDictionary (System.Web.Mvc.ViewDataDictionary dictionary);
new System.Web.Mvc.ViewDataDictionary : System.Web.Mvc.ViewDataDictionary -> System.Web.Mvc.ViewDataDictionary
Public Sub New (dictionary As ViewDataDictionary)

Parameters

dictionary
ViewDataDictionary

The dictionary.

Exceptions

The dictionary parameter is null.

Applies to