ParameterBindingAttribute.GetBinding Method
Gets the parameter binding.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public MustOverride Function GetBinding ( _
parameter As HttpParameterDescriptor _
) As HttpParameterBinding
'Usage
Dim instance As ParameterBindingAttribute
Dim parameter As HttpParameterDescriptor
Dim returnValue As HttpParameterBinding
returnValue = instance.GetBinding(parameter)
public abstract HttpParameterBinding GetBinding(
HttpParameterDescriptor parameter
)
public:
virtual HttpParameterBinding^ GetBinding(
HttpParameterDescriptor^ parameter
) abstract
abstract GetBinding :
parameter:HttpParameterDescriptor -> HttpParameterBinding
public abstract 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.