Share via


FunctionConfiguration.Returns Method

Definition

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

Returns

Applies to