Share via


ModelStateDictionary.Item[String] Property

Definition

Gets the element that has the specified key in the read-only dictionary.

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateEntry ^ default[System::String ^] { Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateEntry ^ get(System::String ^ key); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry this[string key] { get; }
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry? this[string key] { get; }
member this.Item(string) : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry
Default Public ReadOnly Property Item(key As String) As ModelStateEntry

Parameters

key
String

Property Value

Implements

Applies to