Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ParameterBindingExtensions::BindWithModelBinding Method

 

ParameterBindingExtensions::BindWithModelBinding Method (HttpParameterDescriptor^)

Binds parameter by parsing the query string.

public:
[ExtensionAttribute]
static HttpParameterBinding^ BindWithModelBinding(
	HttpParameterDescriptor^ parameter
)

Parameters

parameter
Type: System.Web.Http.Controllers::HttpParameterDescriptor^

The parameter descriptor that describes the parameter to bind.

Return Value

Type: System.Web.Http.Controllers::HttpParameterBinding^

The HTTP parameter binding object.

Return to top

ParameterBindingExtensions::BindWithModelBinding Method (HttpParameterDescriptor^, IEnumerable<ValueProviderFactory^>^)

Binds parameter by parsing the query string.

public:
[ExtensionAttribute]
static HttpParameterBinding^ BindWithModelBinding(
	HttpParameterDescriptor^ parameter,
	IEnumerable<ValueProviderFactory^>^ valueProviderFactories
)

Parameters

parameter
Type: System.Web.Http.Controllers::HttpParameterDescriptor^

The parameter descriptor that describes the parameter to bind.

valueProviderFactories
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.

Return to top

ParameterBindingExtensions::BindWithModelBinding Method (HttpParameterDescriptor^, IModelBinder^)

Binds parameter by parsing the query string.

public:
[ExtensionAttribute]
static HttpParameterBinding^ BindWithModelBinding(
	HttpParameterDescriptor^ parameter,
	IModelBinder^ binder
)

Parameters

parameter
Type: System.Web.Http.Controllers::HttpParameterDescriptor^

The parameter descriptor that describes the parameter to bind.

binder
Type: System.Web.Http.ModelBinding::IModelBinder^

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

Return Value

Type: System.Web.Http.Controllers::HttpParameterBinding^

The HTTP parameter binding object.

Return to top

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

Binds parameter by parsing the query string.

public:
[ExtensionAttribute]
static HttpParameterBinding^ BindWithModelBinding(
	HttpParameterDescriptor^ parameter,
	IModelBinder^ binder,
	IEnumerable<ValueProviderFactory^>^ valueProviderFactories
)

Parameters

parameter
Type: System.Web.Http.Controllers::HttpParameterDescriptor^

The parameter descriptor that describes the parameter to bind.

binder
Type: System.Web.Http.ModelBinding::IModelBinder^

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

valueProviderFactories
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.

Return to top

ParameterBindingExtensions::BindWithModelBinding Method (HttpParameterDescriptor^, array<ValueProviderFactory^>^)

Binds parameter by parsing the query string.

public:
[ExtensionAttribute]
static HttpParameterBinding^ BindWithModelBinding(
	HttpParameterDescriptor^ parameter,
	... array<ValueProviderFactory^>^ valueProviderFactories
)

Parameters

parameter
Type: System.Web.Http.Controllers::HttpParameterDescriptor^

The parameter descriptor that describes the parameter to bind.

valueProviderFactories
Type: array<System.Web.Http.ValueProviders::ValueProviderFactory^>^

The value provider factories which provide query string parameter data.

Return Value

Type: System.Web.Http.Controllers::HttpParameterBinding^

The HTTP parameter binding object.

Return to top
Show: