Compartilhar via


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)

Syntax

'Declaration
Public Function GetValueProvider ( _
    controllerContext As ControllerContext _
) As IValueProvider
public IValueProvider GetValueProvider(
    ControllerContext controllerContext
)
public:
IValueProvider^ GetValueProvider(
    ControllerContext^ controllerContext
)

Parameters

Return Value

Type: System.Web.Mvc.IValueProvider
The value-provider factory object for the specified controller context.

See Also

Reference

ValueProviderFactoryCollection Class

System.Web.Mvc Namespace