Expression.Return Method (LabelTarget)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a GotoExpression representing a return statement.
Assembly: System.Core (in System.Core.dll)
Parameters
- target
- Type: System.Linq.Expressions.LabelTarget
The LabelTarget that the GotoExpression will jump to.
Return Value
Type: System.Linq.Expressions.GotoExpressionA GotoExpression with Kind equal to Return, the Target property set to target, and a null value to be passed to the target label upon jumping.
Show: