ModelStateDictionary Constructor (ModelStateDictionary)

Visual Studio 2010

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

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

'Declaration
Public Sub New ( _
	dictionary As ModelStateDictionary _
)

Parameters

dictionary
Type: System.Web.Mvc.ModelStateDictionary
The model-state dictionary.

ExceptionCondition
ArgumentNullException

The dictionary parameter is Nothing.

Community Additions

ADD
Show: