다음을 통해 공유


ActionConfiguration.Returns 메서드

정의

오버로드

Returns(Type)

작업의 반환 형식을 설정했습니다. 반환 형식이 단일 Primitive 또는 ComplexType인 경우 사용됩니다.

Returns<TReturnType>()

작업의 반환 형식을 설정했습니다. 반환 형식이 단일 Primitive 또는 ComplexType인 경우 사용됩니다.

Returns(Type)

작업의 반환 형식을 설정했습니다. 반환 형식이 단일 Primitive 또는 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

매개 변수

clrReturnType
Type

반환

적용 대상

Returns<TReturnType>()

작업의 반환 형식을 설정했습니다. 반환 형식이 단일 Primitive 또는 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

형식 매개 변수

TReturnType

반환

적용 대상