The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ModelValidatorProviderCollection::GetValidators Method (ModelMetadata^, ModelBindingExecutionContext^)
.NET Framework (current version)
Returns the collection of validators.
Assembly: System.Web (in System.Web.dll)
public:
IEnumerable<ModelValidator^>^ GetValidators(
ModelMetadata^ metadata,
ModelBindingExecutionContext^ context
)
Parameters
- metadata
-
Type:
System.Web.ModelBinding::ModelMetadata^
The metadata.
- context
-
Type:
System.Web.ModelBinding::ModelBindingExecutionContext^
The execution context.
.NET Framework
Available since 4.5
Available since 4.5
Show: