DataAnnotationsModelMetadataProvider Constructor

Initializes a new instance of the DataAnnotationsModelMetadataProvider class.

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

'Declaration
Public Sub New
'Usage
Dim instance As New DataAnnotationsModelMetadataProvider()

The MVC framework calls this constructor and sets the DataAnnotationsModelMetadataProvider as the default metadata provider by using the ModelMetadataProviders class.

Show: