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
模型本身。
傳回
模型的驗證狀態專案。