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.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public ActionConfiguration ReturnsCollection<TReturnElementType>()
public:
generic<typename TReturnElementType>
ActionConfiguration^ ReturnsCollection()
member ReturnsCollection<'TReturnElementType> : unit -> ActionConfiguration
Public Function ReturnsCollection(Of TReturnElementType) As ActionConfiguration

Return Value

Type: System.Web.OData.Builder.ActionConfiguration

The return type of this ActionConfiguration.

Type Parameters

  • TReturnElementType
    The type of this ReturnElementType.

See Also

ActionConfiguration Class
System.Web.OData.Builder Namespace

Return to top