ValidationVisitor.GetValidationEntry(Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取模型的验证条目。
protected:
virtual Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^ GetValidationEntry(System::Object ^ model);
protected virtual Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry GetValidationEntry (object model);
protected virtual Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry? GetValidationEntry (object? model);
abstract member GetValidationEntry : obj -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry
override this.GetValidationEntry : obj -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry
Protected Overridable Function GetValidationEntry (model As Object) As ValidationStateEntry
参数
- model
- Object
模型。
返回
模型的验证状态条目。