ModelStateDictionary.Add Method (String, ModelState)

.NET Framework (current version)
 

Adds an item that has the specified key and value to the dictionary.

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

Public Sub Add (
	key As String,
	value As ModelState
)

Parameters

key
Type: System.String

The key.

value
Type: System.Web.ModelBinding.ModelState

The value.

.NET Framework
Available since 4.5
Return to top
Show: