Share via


ValidationVisitor.VisitChildren(IValidationStrategy) Method

Definition

Validate all the child nodes using the specified strategy.

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

Parameters

strategy
IValidationStrategy

The validation strategy.

Returns

true if all children are valid, otherwise false.

Applies to