ActionConfiguration.Returns Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Returns(Type) |
Established the return type of the Action. Used when the return type is a single Primitive or ComplexType. |
Returns<TReturnType>() |
Established the return type of the Action. Used when the return type is a single Primitive or ComplexType. |
Returns(Type)
Established the return type of the Action. Used when the return type is a single Primitive or ComplexType.
public Microsoft.AspNet.OData.Builder.ActionConfiguration Returns (Type clrReturnType);
member this.Returns : Type -> Microsoft.AspNet.OData.Builder.ActionConfiguration
Public Function Returns (clrReturnType As Type) As ActionConfiguration
Parameters
- clrReturnType
- Type
Returns
Applies to
Returns<TReturnType>()
Established the return type of the Action. Used when the return type is a single Primitive or ComplexType.
public Microsoft.AspNet.OData.Builder.ActionConfiguration Returns<TReturnType> ();
member this.Returns : unit -> Microsoft.AspNet.OData.Builder.ActionConfiguration
Public Function Returns(Of TReturnType) () As ActionConfiguration
Type Parameters
- TReturnType