DataAnnotationsModelValidatorProvider::RegisterValidatableObjectAdapter Method (Type^, Type^)

 

Registers an adapter to provide object validation.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
static void RegisterValidatableObjectAdapter(
	Type^ modelType,
	Type^ adapterType
)

Parameters

modelType
Type: System::Type^

The type of the model.

adapterType
Type: System::Type^

The type of the adapter.

Return to top
Show: