ModelStateDictionary Constructor (ModelStateDictionary)

.NET Framework (current version)
 

Initializes a new instance of the ModelStateDictionary class using an existing dictionary collection.

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

Public Sub New (
	dictionary As ModelStateDictionary
)

Parameters

dictionary
Type: System.Web.ModelBinding.ModelStateDictionary

The dictionary.

Exception Condition
ArgumentNullException

The dictionary parameter is null.

.NET Framework
Available since 4.5
Return to top
Show: