ModelStateDictionary.Item Property (String)

 

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

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

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

Parameters

key
Type: System.String

The key.

Property Value

Type: System.Web.Http.ModelBinding.ModelState

The model state item.

Return to top
Show: