ValidationStateDictionary.Item[Object] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置具有指定键的元素。
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