FromBodyAttribute.GetBinding Method
Gets a parameter binding.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overrides Function GetBinding ( _
parameter As HttpParameterDescriptor _
) As HttpParameterBinding
'Usage
Dim instance As FromBodyAttribute
Dim parameter As HttpParameterDescriptor
Dim returnValue As HttpParameterBinding
returnValue = instance.GetBinding(parameter)
public override HttpParameterBinding GetBinding(
HttpParameterDescriptor parameter
)
public:
virtual HttpParameterBinding^ GetBinding(
HttpParameterDescriptor^ parameter
) override
abstract GetBinding :
parameter:HttpParameterDescriptor -> HttpParameterBinding
override GetBinding :
parameter:HttpParameterDescriptor -> HttpParameterBinding
public override function GetBinding(
parameter : HttpParameterDescriptor
) : HttpParameterBinding
Parameters
parameter
Type: System.Web.Http.Controllers.HttpParameterDescriptorThe parameter description.
Return Value
Type: System.Web.Http.Controllers.HttpParameterBinding
The parameter binding.