Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Return Method
Collapse the table of content
Expand the table of content

Expression.Return Method

Creates a GotoExpression representing a return statement.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Portable Class Library Return(LabelTarget) Creates a GotoExpression representing a return statement.
Public method Static member Supported by Portable Class Library Return(LabelTarget, Expression) Creates a GotoExpression representing a return statement. The value passed to the label upon jumping can be specified.
Public method Static member Supported by Portable Class Library Return(LabelTarget, Type) Creates a GotoExpression representing a return statement with the specified type.
Public method Static member Supported by Portable Class Library Return(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.
Top
Show:
© 2015 Microsoft