Edit

Bagikan melalui


ModelMetadataProviders.Current Property

Definition

Gets or sets the current ModelMetadataProvider instance.

public:
 static property System::Web::ModelBinding::ModelMetadataProvider ^ Current { System::Web::ModelBinding::ModelMetadataProvider ^ get(); void set(System::Web::ModelBinding::ModelMetadataProvider ^ value); };
public static System.Web.ModelBinding.ModelMetadataProvider Current { get; set; }
static member Current : System.Web.ModelBinding.ModelMetadataProvider with get, set
Public Shared Property Current As ModelMetadataProvider

Property Value

The current ModelMetadataProvider instance. The default value is a new instance of the EmptyModelMetadataProvider class.

Applies to