Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BindWithModelBinding Method (HttpParameterDescriptor)

ParameterBindingExtensions.BindWithModelBinding Method (HttpParameterDescriptor)

Binds parameter by parsing the query string.

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

'Declaration
<ExtensionAttribute> _
Public Shared Function BindWithModelBinding ( _
	parameter As HttpParameterDescriptor _
) As HttpParameterBinding
'Usage
Dim parameter As HttpParameterDescriptor 
Dim returnValue As HttpParameterBinding 

returnValue = parameter.BindWithModelBinding()

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.

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 https://msdn.microsoft.com/en-us/library/bb384936(v=vs.108).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.108).aspx.
Show:
© 2015 Microsoft