Share via


IValidationStrategy.GetChildren(ModelMetadata, String, Object) Method

Definition

Gets an IEnumerator<T> containing a ValidationEntry for each child entry of the model object to be validated.

public:
 System::Collections::Generic::IEnumerator<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationEntry> ^ GetChildren(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, System::Object ^ model);
public System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry> GetChildren (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model);
abstract member GetChildren : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * obj -> System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry>
Public Function GetChildren (metadata As ModelMetadata, key As String, model As Object) As IEnumerator(Of ValidationEntry)

Parameters

metadata
ModelMetadata

The ModelMetadata associated with model.

key
String

The model prefix associated with model.

model
Object

The model object.

Returns

An IEnumerator<T>.

Applies to