ActionConfiguration.ReturnsCollection<TReturnElementType> Method ()
Establishes the return type of the Action
Remarks
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
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.Http.OData.Builder.ActionConfiguration
Type Parameters
- TReturnElementType
See Also
ActionConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top