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

ModelMetadataProviders.Current Property


Gets or sets the current ModelMetadataProvider object.

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

Public Shared Property Current As ModelMetadataProvider

Property Value

Type: System.Web.Mvc.ModelMetadataProvider

The current ModelMetadataProvider object.

If this property is set to null, Current is set to the EmptyModelMetadataProvider instance.

Return to top
© 2015 Microsoft