ControlAttribute.GetValueProvider Method (ModelBindingExecutionContext)
.NET Framework (current version)
Gets the value provider.
Assembly: System.Web (in System.Web.dll)
override GetValueProvider :
modelBindingExecutionContext:ModelBindingExecutionContext -> IValueProvider
Parameters
- modelBindingExecutionContext
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
The execution context.
| Exception | Condition |
|---|---|
| ArgumentNullException | The modelBindingExecutionContext parameter is null. |
This method creates and returns a new instance of the ControlValueProvider class using the execution context and the value of the PropertyName property.
.NET Framework
Available since 4.5
Available since 4.5
Show: