ControlAttribute.GetValueProvider(ModelBindingExecutionContext) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft den Wertanbieter ab.
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
Parameter
- modelBindingExecutionContext
- ModelBindingExecutionContext
Der Ausführungskontext.
Gibt zurück
Der Wertanbieter.
Ausnahmen
Der modelBindingExecutionContext Parameter ist null.
Hinweise
Diese Methode erstellt und gibt eine neue Instanz der ControlValueProvider Klasse mithilfe des Ausführungskontexts und des Werts der PropertyName Eigenschaft zurück.