DataAnnotationsModelValidatorProvider.RegisterAdapter Method (Type, Type)

 

Registers an adapter to provide client-side validation.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Public Shared Sub RegisterAdapter (
	attributeType As Type,
	adapterType As Type
)

Parameters

attributeType
Type: System.Type

The type of the validation attribute.

adapterType
Type: System.Type

The type of the adapter.

Return to top
Show: