Partager via


ValueProviderFactory.GetValueProvider Method

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

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

Syntax

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

Parameters

Return Value

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

See Also

Reference

ValueProviderFactory Class

System.Web.Mvc Namespace