ValueProviderFactoryCollection.GetValueProvider Method

Returns the value-provider factory for the specified controller context.

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

public 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
The value-provider factory object for the specified controller context.
Show: