DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Registra um adaptador para fornecer a validação do lado do cliente.
public static void RegisterAdapter (Type attributeType, Type adapterType);
static member RegisterAdapter : Type * Type -> unit
Public Shared Sub RegisterAdapter (attributeType As Type, adapterType As Type)
Parâmetros
- attributeType
- Type
O tipo de atributo de validação.
- adapterType
- Type
O tipo de adaptador.