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::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:
[ExtensionAttribute]
static HttpParameterBinding^ BindWithAttribute(
	HttpParameterDescriptor^ parameter,
	ParameterBindingAttribute^ attribute
)

Parameters

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

The parameter to provide binding for.

attribute
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
Show: