Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ParameterBindingExtensions.BindWithAttribute Method (HttpParameterDescriptor, ParameterBindingAttribute)


Bind the parameter as if it had the given attribute on the declaration.

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

public static HttpParameterBinding BindWithAttribute(
	this HttpParameterDescriptor parameter,
	ParameterBindingAttribute attribute


Type: System.Web.Http.Controllers.HttpParameterDescriptor

The parameter to provide binding for.

Type: System.Web.Http.ParameterBindingAttribute

The attribute that describes the binding.

Return Value

Type: System.Web.Http.Controllers.HttpParameterBinding

The HTTP parameter binding object.

Return to top
© 2015 Microsoft