FunctionConfiguration.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 Function. Used when the return type is a single Primitive or ComplexType. |
Returns<TReturnType>() |
Established the return type of the Function. Used when the return type is a single Primitive or ComplexType. |
Returns(Type)
Established the return type of the Function. Used when the return type is a single Primitive or ComplexType.
public Microsoft.AspNet.OData.Builder.FunctionConfiguration Returns (Type clrReturnType);
member this.Returns : Type -> Microsoft.AspNet.OData.Builder.FunctionConfiguration
Public Function Returns (clrReturnType As Type) As FunctionConfiguration
Parameters
- clrReturnType
- Type
Returns
Applies to
Returns<TReturnType>()
Established the return type of the Function. Used when the return type is a single Primitive or ComplexType.
public Microsoft.AspNet.OData.Builder.FunctionConfiguration Returns<TReturnType> ();
member this.Returns : unit -> Microsoft.AspNet.OData.Builder.FunctionConfiguration
Public Function Returns(Of TReturnType) () As FunctionConfiguration
Type Parameters
- TReturnType