RouteDataValueProviderFactory.GetValueProvider(ControllerContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Overrides Function GetValueProvider (controllerContext As ControllerContext) As IValueProvider
Parameters
- controllerContext
- ControllerContext
An object that encapsulates information about the current HTTP request.
Returns
A value-provider object.
Exceptions
The controllerContext
parameter is null.