Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft