Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataAnnotationsModelMetadataProvider Constructor ()

 

Initializes a new instance of the DataAnnotationsModelMetadataProvider class.

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

public DataAnnotationsModelMetadataProvider()

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

Return to top
Show:
© 2015 Microsoft