ActionConfiguration.Returns<TReturnType> Method ()
Established the return type of the Action.
Remarks
Used when the return type is a single Primitive or ComplexType.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public ActionConfiguration Returns<TReturnType>()
public:
generic<typename TReturnType>
ActionConfiguration^ Returns()
member Returns<'TReturnType> : unit -> ActionConfiguration
Public Function Returns(Of TReturnType) As ActionConfiguration
Return Value
Type: System.Web.Http.OData.Builder.ActionConfiguration
Type Parameters
- TReturnType
See Also
ActionConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top