GetValueProvider Method
Collapse the table of content
Expand the table of content

QueryStringValueProviderFactory.GetValueProvider Method (ControllerContext)

 

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

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

public override IValueProvider GetValueProvider(
	ControllerContext 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.

Exception Condition
ArgumentNullException

The controllerContext parameter is null.

Return to top
Show:
© 2016 Microsoft