ViewDataDictionary<TModel> ViewDataDictionary<TModel> ViewDataDictionary<TModel> Constructors

Definition

Overloads

ViewDataDictionary<TModel>() ViewDataDictionary<TModel>()

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

ViewDataDictionary<TModel>(ViewDataDictionary) ViewDataDictionary<TModel>(ViewDataDictionary)

Initializes a new instance of the ViewDataDictionary<TModel> class by using the specified view data dictionary.

ViewDataDictionary<TModel>(TModel) ViewDataDictionary<TModel>(TModel) ViewDataDictionary<TModel>(TModel)

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

ViewDataDictionary<TModel>() ViewDataDictionary<TModel>()

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

public ViewDataDictionary ();
Public Sub New ()

ViewDataDictionary<TModel>(ViewDataDictionary) ViewDataDictionary<TModel>(ViewDataDictionary)

Initializes a new instance of the ViewDataDictionary<TModel> class by using the specified view data dictionary.

public ViewDataDictionary (System.Web.Mvc.ViewDataDictionary viewDataDictionary);
new System.Web.Mvc.ViewDataDictionary<'Model> : System.Web.Mvc.ViewDataDictionary -> System.Web.Mvc.ViewDataDictionary<'Model>

Parameters

viewDataDictionary
ViewDataDictionary ViewDataDictionary ViewDataDictionary

An existing view data dictionary to copy into this instance.

ViewDataDictionary<TModel>(TModel) ViewDataDictionary<TModel>(TModel) ViewDataDictionary<TModel>(TModel)

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

public ViewDataDictionary (TModel model);
new System.Web.Mvc.ViewDataDictionary<'Model> : 'Model -> System.Web.Mvc.ViewDataDictionary<'Model>
Public Sub New (model As TModel)

Parameters

model
TModel TModel TModel

The data model to use for the view.

Applies to