QueryStringValueProviderFactory.GetValueProvider Method

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

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

Syntax

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

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

Parameters

Return Value

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

See Also

Reference

QueryStringValueProviderFactory Class

System.Web.Http.ValueProviders.Providers Namespace