DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Metod

Definition

Registrerar ett kort för validering på klientsidan.

public:
 static void RegisterAdapter(Type ^ attributeType, Type ^ adapterType);
public static void RegisterAdapter(Type attributeType, Type adapterType);
static member RegisterAdapter : Type * Type -> unit
Public Shared Sub RegisterAdapter (attributeType As Type, adapterType As Type)

Parametrar

attributeType
Type

Typen av valideringsattribut.

adapterType
Type

Typ av adapter.

Gäller för