Export (0) Print
Expand All

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)

public ModelState this[
	string key
] { get; set; }

Parameters

key
Type: System.String

The key.

Property Value

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

Implements

IDictionary<TKey, TValue>.Item[TKey]
Show:
© 2015 Microsoft