Share via


ActionConfiguration.Parameter<TParameter> Method

Adds a new non-binding parameter.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Function Parameter(Of TParameter) ( _
    name As String _
) As ParameterConfiguration
'Usage
Dim instance As ActionConfiguration 
Dim name As String 
Dim returnValue As ParameterConfiguration 

returnValue = instance.Parameter(name)
public ParameterConfiguration Parameter<TParameter>(
    string name
)
public:
generic<typename TParameter>
ParameterConfiguration^ Parameter(
    String^ name
)
member Parameter : 
        name:string -> ParameterConfiguration
JScript does not support generic types and methods.

Type Parameters

  • TParameter
    The generic type parameter.

Parameters

Return Value

Type: System.Web.Http.OData.Builder.ParameterConfiguration
A new non-binding parameter.

See Also

Reference

ActionConfiguration Class

System.Web.Http.OData.Builder Namespace