共用方式為


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

模型本身。

傳回

模型的驗證狀態專案。

適用於