Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataAnnotationsModelValidationFactory Delegate
Collapse the table of content
Expand the table of content

DataAnnotationsModelValidationFactory Delegate

Represents the method that creates a DataAnnotationsModelValidatorProvider instance.

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

Public Delegate Function DataAnnotationsModelValidationFactory ( _
	metadata As ModelMetadata, _
	context As ControllerContext, _
	attribute As ValidationAttribute _
) As ModelValidator
Dim instance As New DataAnnotationsModelValidationFactory(AddressOf HandlerMethod)
© 2015 Microsoft