ModelStateDictionary Constructor
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
ModelStateDictionary() | Initializes a new instance of the ModelStateDictionary class. |
|
ModelStateDictionary(ModelStateDictionary) | Initializes a new instance of the ModelStateDictionary class by using values that are copied from the specified model-state dictionary. |
See Also
ModelStateDictionary Class
System.Web.Http.ModelBinding Namespace
Return to top
ModelStateDictionary Constructor ()
Initializes a new instance of the ModelStateDictionary class.
Syntax
public ModelStateDictionary()
public:
ModelStateDictionary()
new : unit -> ModelStateDictionary
Public Sub New
Return to top
ModelStateDictionary Constructor (ModelStateDictionary)
Initializes a new instance of the ModelStateDictionary class by using values that are copied from the specified model-state dictionary.
Syntax
public ModelStateDictionary(
ModelStateDictionary dictionary
)
public:
ModelStateDictionary(
ModelStateDictionary^ dictionary
)
new :
dictionary:ModelStateDictionary -> ModelStateDictionary
Public Sub New (
dictionary As ModelStateDictionary
)
Parameters
dictionary
Type: System.Web.Http.ModelBinding.ModelStateDictionaryThe dictionary.
Return to top