DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Metode

Definisi

Mendaftarkan adaptor untuk validasi sisi klien.

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)

Parameter

attributeType
Type

Jenis atribut validasi.

adapterType
Type

Jenis adaptor.

Berlaku untuk