QueryStringValueProviderFactory.GetValueProvider(ControllerContext) QueryStringValueProviderFactory.GetValueProvider(ControllerContext) Method

Definition

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

public override System.Web.Mvc.IValueProvider GetValueProvider (System.Web.Mvc.ControllerContext controllerContext);
override this.GetValueProvider : System.Web.Mvc.ControllerContext -> System.Web.Mvc.IValueProvider

Parameters

controllerContext
ControllerContext ControllerContext

An object that encapsulates information about the current HTTP request.

Returns

A query-string value-provider object.

Exceptions

The controllerContext parameter is null.

Applies to