DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Regisztrál egy adaptert az ügyféloldali ellenőrzéshez.
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)
Paraméterek
- attributeType
- Type
Az érvényesítési attribútum típusa.
- adapterType
- Type
Az adapter típusa.