Share via


FunctionConfiguration.ReturnsCollection<TReturnElementType> Method ()

 

Establishes the return type of the Function

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

Syntax

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

Return Value

Type: System.Web.OData.Builder.FunctionConfiguration

Returns FunctionConfiguration.

Type Parameters

  • TReturnElementType

Remarks

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

See Also

FunctionConfiguration Class
System.Web.OData.Builder Namespace

Return to top