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 static ModelMetadataProvider Current { get; set; }

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.

Show:
© 2014 Microsoft