ValidationVisitor.GetValidationEntry(Object) 方法

定义

获取模型的验证条目。

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

模型。

返回

模型的验证状态条目。

适用于