FormAttribute.GetValueProvider Method (ModelBindingExecutionContext)

.NET Framework (current version)
 

Gets the value provider.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public override IValueProvider GetValueProvider(
	ModelBindingExecutionContext modelBindingExecutionContext
)

Parameters

modelBindingExecutionContext
Type: System.Web.ModelBinding.ModelBindingExecutionContext

The execution context.

Return Value

Type: System.Web.ModelBinding.IValueProvider

The value provider.

This method creates and returns a new instance of the FormValueProvider class.

.NET Framework
Available since 4.5
Return to top
Show: