FormValueProviderFactory.GetValueProvider Method

Returns a form-value provider object for the specified controller context.

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

public override function GetValueProvider(
	controllerContext : ControllerContext
) : IValueProvider

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

An object that encapsulates information about the current HTTP request.

Return Value

Type: System.Web.Mvc.IValueProvider
A form-value provider object.

ExceptionCondition
ArgumentNullException

The controllerContext parameter is a null reference (Nothing in Visual Basic).

Show: