FunctionConfiguration.Returns<TReturnType> 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 Returns<TReturnType>()
public:
generic<typename TReturnType>
FunctionConfiguration^ Returns()
member Returns<'TReturnType> : unit -> FunctionConfiguration
Public Function Returns(Of TReturnType) As FunctionConfiguration
Return Value
Type: System.Web.OData.Builder.FunctionConfiguration
Returns FunctionConfiguration.
Type Parameters
- TReturnType
Remarks
Used when the return type is a single Primitive or ComplexType.
See Also
FunctionConfiguration Class
System.Web.OData.Builder Namespace
Return to top