Export (0) Print
Expand All

QueryStringValueProviderFactory.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)

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

returnValue = instance.GetValueProvider(controllerContext)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

An object that encapsulates information about the current HTTP request.

Return Value

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

ExceptionCondition
ArgumentNullException

The controllerContext parameter is Nothing.

Show:
© 2014 Microsoft