ProfileAttribute.GetValueProvider Method (ModelBindingExecutionContext)
.NET Framework (current version)
Gets the value provider.
Assembly: System.Web (in System.Web.dll)
Public Overrides Function GetValueProvider ( modelBindingExecutionContext As ModelBindingExecutionContext ) As IValueProvider
Parameters
- modelBindingExecutionContext
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
the execution context.
Return Value
Type: System.Web.ModelBinding.IValueProviderA new instance of the ProfileValueProvider class.
| Exception | Condition |
|---|---|
| ArgumentNullException | The modelBindingExecutionContext parameter is null. |
.NET Framework
Available since 4.5
Available since 4.5
Show: