Share via


ModelStateDictionary.Item[String] Property

Definition

Gets or sets the model state that is associated with the specified key in the model-state dictionary.

public System.Web.WebPages.Html.ModelState this[string key] { get; set; }
member this.Item(string) : System.Web.WebPages.Html.ModelState with get, set
Default Public Property Item(key As String) As ModelState

Parameters

key
String

Property Value

The model state that is associated with the specified key in the dictionary.

Implements

Applies to