Partager via


ValueProviderFactory.GetValueProvider Method

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

Namespace:  System.Web.Http.ValueProviders
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public MustOverride Function GetValueProvider ( _
    actionContext As HttpActionContext _
) As IValueProvider
'Usage
Dim instance As ValueProviderFactory
Dim actionContext As HttpActionContext
Dim returnValue As IValueProvider

returnValue = instance.GetValueProvider(actionContext)
public abstract IValueProvider GetValueProvider(
    HttpActionContext actionContext
)
public:
virtual IValueProvider^ GetValueProvider(
    HttpActionContext^ actionContext
) abstract
abstract GetValueProvider : 
        actionContext:HttpActionContext -> IValueProvider 
public abstract function GetValueProvider(
    actionContext : HttpActionContext
) : IValueProvider

Parameters

Return Value

Type: System.Web.Http.ValueProviders.IValueProvider
A value-provider object.

See Also

Reference

ValueProviderFactory Class

System.Web.Http.ValueProviders Namespace