ViewDataDictionary Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for