ModelStateDictionary.Item[String] 属性

定义

获取在只读目录中有指定键的元素。

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

参数

key
String

属性值

实现

适用于