FromODataUriAttribute.GetBinding Method
Gets the binding for a parameter.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overrides Function GetBinding ( _
parameter As HttpParameterDescriptor _
) As HttpParameterBinding
'Usage
Dim instance As FromODataUriAttribute
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.HttpParameterDescriptor
The parameter to bind.
Return Value
Type: System.Web.Http.Controllers.HttpParameterBinding
The HttpParameterBinding that contains the binding.