DataAnnotationsModelValidatorProvider.RegisterAdapter Method (Type, Type)
.NET Framework (current version)
Registers an adapter for client-side validation.
Assembly: System.Web (in System.Web.dll)
Parameters
- attributeType
-
Type:
System.Type
The type of the validation attribute.
- adapterType
-
Type:
System.Type
The type of the adapter.
.NET Framework
Available since 4.5
Available since 4.5
Show: