ModelStateDictionary.Item Property

Gets or sets the value that is associated with the specified key.

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

'Declaration
Public Property Item ( _
	key As String _
) As ModelState 
	Get 
	Set
'Usage
Dim instance As ModelStateDictionary 
Dim key As String 
Dim value As ModelState 

value = instance.Item(key)

instance.Item(key) = value

Parameters

key
Type: System.String

The key.

Property Value

Type: System.Web.Mvc.ModelState
The model state item.

Implements

IDictionary(Of TKey, TValue).Item(TKey)
Show: