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 the default adapter.
Namespace: System.Web.Http.Validation.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub RegisterDefaultAdapter ( _
adapterType As Type _
)
'Usage
Dim instance As DataAnnotationsModelValidatorProvider
Dim adapterType As Type
instance.RegisterDefaultAdapter(adapterType)
public void RegisterDefaultAdapter(
Type adapterType
)
public:
void RegisterDefaultAdapter(
Type^ adapterType
)
member RegisterDefaultAdapter :
adapterType:Type -> unit
public function RegisterDefaultAdapter(
adapterType : Type
)
Parameters
- adapterType
Type: System.Type
The type of the adapter.