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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft