ActionConfiguration.Returns<TReturnType> Method
Established the return type of the Action.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Function Returns(Of TReturnType) As ActionConfiguration
'Usage
Dim instance As ActionConfiguration
Dim returnValue As ActionConfiguration
returnValue = instance.Returns()
public ActionConfiguration Returns<TReturnType>()
public:
generic<typename TReturnType>
ActionConfiguration^ Returns()
member Returns : unit -> ActionConfiguration
JScript does not support generic types and methods.
Type Parameters
- TReturnType
The type that is a ReturnType.
Return Value
Type: System.Web.Http.OData.Builder.ActionConfiguration
The type of this ActionConfiguration.