ControlValueProvider(ModelBindingExecutionContext, String) Konstruktor
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.
Initialisiert eine neue Instanz der ControlValueProvider-Klasse.
public:
ControlValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::String ^ propertyName);
public ControlValueProvider(System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, string propertyName);
new System.Web.ModelBinding.ControlValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext * string -> System.Web.ModelBinding.ControlValueProvider
Public Sub New (modelBindingExecutionContext As ModelBindingExecutionContext, propertyName As String)
Parameter
- modelBindingExecutionContext
- ModelBindingExecutionContext
Der Ausführungskontext.
- propertyName
- String
Der Name der Steuerelementeigenschaft, aus der der Wert abgerufen werden soll.