共用方式為


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

屬性值

實作

適用於