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
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
An object that encapsulates information about the current HTTP request.
Return Value
Type: System.Web.Http.ValueProviders.IValueProvider
A query-string value-provider object.