ParameterBindingExtensions.BindWithModelBinding Method (HttpParameterDescriptor, IModelBinder, IEnumerable<ValueProviderFactory>)

Binds parameter by parsing the query string.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

public static HttpParameterBinding BindWithModelBinding(
	this HttpParameterDescriptor parameter,
	IModelBinder binder,
	IEnumerable<ValueProviderFactory> valueProviderFactories


Type: System.Web.Http.Controllers.HttpParameterDescriptor

The parameter descriptor that describes the parameter to bind.

Type: System.Web.Http.ModelBinding.IModelBinder

The model binder used to assemble the parameter into an object.

Type: System.Collections.Generic.IEnumerable<ValueProviderFactory>

The value provider factories which provide query string parameter data.

Return Value

Type: System.Web.Http.Controllers.HttpParameterBinding
The HTTP parameter binding object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpParameterDescriptor. When you use instance method syntax to call this method, omit the first parameter. For more information, see or