Expression.Return Method

 

Creates a GotoExpression representing a return statement.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget)

Creates a GotoExpression representing a return statement.

System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget, Expression)

Creates a GotoExpression representing a return statement. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget, Expression, Type)

Creates a GotoExpression representing a return statement with the specified type. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget, Type)

Creates a GotoExpression representing a return statement with the specified type.

Return to top
Show: