ModelStateDictionary Constructor

 

Initializes a new instance of the ModelStateDictionary class.

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

NameDescription
System_CAPS_pubmethodModelStateDictionary()

Initializes a new instance of the ModelStateDictionary class.

System_CAPS_pubmethodModelStateDictionary(ModelStateDictionary^)

Initializes a new instance of the ModelStateDictionary class by using values that are copied from the specified model-state dictionary.

Return to top

ModelStateDictionary Constructor ()

Initializes a new instance of the ModelStateDictionary class.

public:
ModelStateDictionary()
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.

public:
ModelStateDictionary(
	ModelStateDictionary^ dictionary
)

Parameters

dictionary
Type: System.Web.Mvc::ModelStateDictionary^

The model-state dictionary.

Exception Condition
ArgumentNullException

The dictionary parameter is null.

Return to top
Show: