Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers an adapter to provide client-side validation.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Shared Sub RegisterAdapter ( _
attributeType As Type, _
adapterType As Type _
)
public static void RegisterAdapter(
Type attributeType,
Type adapterType
)
public:
static void RegisterAdapter(
Type^ attributeType,
Type^ adapterType
)
Parameters
- attributeType
Type: System.Type
The type of the validation attribute.
- adapterType
Type: System.Type
The type of the adapter.