Share via


ActionConfiguration.Returns Method

Definition

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

Returns

Applies to