Partager via


ProfileAttribute.GetValueProvider(ModelBindingExecutionContext) Méthode

Définition

Obtient le fournisseur de valeurs.

public:
 override System::Web::ModelBinding::IValueProvider ^ GetValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext);
public override System.Web.ModelBinding.IValueProvider GetValueProvider (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext);
override this.GetValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext -> System.Web.ModelBinding.IValueProvider
Public Overrides Function GetValueProvider (modelBindingExecutionContext As ModelBindingExecutionContext) As IValueProvider

Paramètres

modelBindingExecutionContext
ModelBindingExecutionContext

contexte d'exécution.

Retours

IValueProvider

Nouvelle instance de la classe ProfileValueProvider.

Exceptions

Le paramètre modelBindingExecutionContext a la valeur null.

S’applique à