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 property ModelMetadataProvider^ Current {
	ModelMetadataProvider^ get ();
	void set (ModelMetadataProvider^ value);
}

Property Value

Type: System.Web.Mvc::ModelMetadataProvider
The current ModelMetadataProvider object.

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

Show:
© 2014 Microsoft