Share via


ActionConfiguration.ReturnsCollection<TReturnElementType> Method

Establishes the return type of the Action Used when the return type is a collection of either Primitive or ComplexTypes.

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

Syntax

'Declaration
Public Function ReturnsCollection(Of TReturnElementType) As ActionConfiguration
'Usage
Dim instance As ActionConfiguration 
Dim returnValue As ActionConfiguration 

returnValue = instance.ReturnsCollection()
public ActionConfiguration ReturnsCollection<TReturnElementType>()
public:
generic<typename TReturnElementType>
ActionConfiguration^ ReturnsCollection()
member ReturnsCollection : unit -> ActionConfiguration
JScript does not support generic types and methods.

Type Parameters

  • TReturnElementType
    The type of this ReturnElementType.

Return Value

Type: System.Web.Http.OData.Builder.ActionConfiguration
The return type of this ActionConfiguration.

See Also

Reference

ActionConfiguration Class

System.Web.Http.OData.Builder Namespace