Share via


ActionConfiguration.CollectionParameter<TElementType> Method

Adds a new non-binding collection parameter.

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

Syntax

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

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

Type Parameters

  • TElementType
    Base type of element.

Parameters

Return Value

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

See Also

Reference

ActionConfiguration Class

System.Web.Http.OData.Builder Namespace