ModelBinderAttribute.GetBinding Method (HttpParameterDescriptor)
Gets the binding for a parameter.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public override HttpParameterBinding GetBinding(
HttpParameterDescriptor parameter
)
public:
virtual HttpParameterBinding^ GetBinding(
HttpParameterDescriptor^ parameter
) override
override GetBinding :
parameter:HttpParameterDescriptor -> HttpParameterBinding
Public Overrides Function GetBinding (
parameter As HttpParameterDescriptor
) As HttpParameterBinding
Parameters
parameter
Type: System.Web.Http.Controllers.HttpParameterDescriptorThe parameter to bind.
Return Value
Type: System.Web.Http.Controllers.HttpParameterBinding
The HttpParameterBindingthat contains the binding.
See Also
ModelBinderAttribute Class
System.Web.Http.ModelBinding Namespace
Return to top