ModelMetadataProviders.Current Property


Gets or sets the current ModelMetadataProvider object.

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

No code example is currently available or this language may not be supported.

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