Condividi tramite


ValidationVisitor.VisitChildren(IValidationStrategy) Metodo

Definizione

Convalidare tutti i nodi figlio usando la strategia specificata.

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

Parametri

strategy
IValidationStrategy

Strategia di convalida.

Restituisce

true se tutti gli elementi figlio sono validi; in caso contrario false, .

Si applica a