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

属性值

实现

适用于