共用方式為


ValidationStateDictionary.Item[Object] 屬性

定義

取得或設定具有指定索引鍵的項目。

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^ default[System::Object ^] { Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^ get(System::Object ^ key); void set(System::Object ^ key, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^ value); };
public Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry this[object key] { get; set; }
public Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry? this[object key] { get; set; }
member this.Item(obj) : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry with get, set
Default Public Property Item(key As Object) As ValidationStateEntry

參數

key
Object

屬性值

實作

適用於