共用方式為


ValidationVisitor.VisitChildren(IValidationStrategy) 方法

定義

使用指定的策略驗證所有子節點。

protected:
 virtual bool VisitChildren(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IValidationStrategy ^ strategy);
protected virtual bool VisitChildren (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy strategy);
abstract member VisitChildren : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy -> bool
override this.VisitChildren : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy -> bool
Protected Overridable Function VisitChildren (strategy As IValidationStrategy) As Boolean

參數

strategy
IValidationStrategy

驗證策略。

傳回

true 如果所有子系都有效,則為 ,否則 false 為 。

適用於